This is the preprocessing script to prepare the data to run analyses for the project “Anxiety, depression and trauma symptom change during the COVID-19 pandemic: retrospective versus objective assessment” - Young et al (2020)

Script written by K Purves, K Thompson, C Huebel and M Davies. Email: , , ,

#Set up

Clear global environment

Retrieve the current date to use it for file endings to not overwrite files when one exports files

Specify cohort

#Packages Install packages (if they are not available in your version of R)

Load packages

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp
For best results, restart R session and update pander using devtools:: or remotes::install_github('rapporter/pander')
Loading required package: ggplot2

Attaching package: 'ggplot2'
The following objects are masked from 'package:psych':

    %+%, alpha
── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
✓ tibble  3.0.4     ✓ dplyr   1.0.2
✓ tidyr   1.1.2     ✓ stringr 1.4.0
✓ readr   1.3.1     ✓ forcats 0.5.0
✓ purrr   0.3.4     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
x ggplot2::%+%()   masks psych::%+%()
x ggplot2::alpha() masks psych::alpha()
x dplyr::filter()  masks stats::filter()
x dplyr::lag()     masks stats::lag()
x tibble::view()   masks summarytools::view()

Colour palettes

Define colours for plotting this are the standard coping colours

Choose in this chunk which palette to use 04.07.2020 - Default to 2 colour COPING palette

#Add_numeric function Function used to convert character variables into numeric variables.

Data import and merging

Note: GLAD only receives current measures and RAMP questionnaire Note: All COPING surveys are separate surveys

Source data file paths

Demographics

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

GLAD and EDGI

Create data frame

Get summary of combined GLAD and EDI

NBR

Read in data

 [1] "externalDataReference"                                         
 [2] "startDate"                                                     
 [3] "endDate"                                                       
 [4] "subjectid"                                                     
 [5] "demographics.please_select_your_preferred_units_of_measurement"
 [6] "demographics.what_is_your_current_height"                      
 [7] "demographics.what_is_your_current_height.1"                    
 [8] "demographics.what_is_your_current_height.2"                    
 [9] "demographics.provide_current_weight_pregnant"                  
[10] "demographics.provide_current_weight_pregnant.1"                
[11] "demographics.provide_current_weight_pregnant.2"                
[12] "demographics.provide_pregnant_weighed_weight"                  
[13] "demographics.provide_pregnant_weighed_weight.1"                
[14] "demographics.provide_pregnant_weighed_weight.2"                
[15] "demographics.highest_weight.txt"                               
[16] "demographics.adult_height_reaching_weighed"                    
[17] "demographics.adult_height_reaching_weighed.1"                  
[18] "demographics.adult_height_reaching_weighed.2"                  
[19] "demographics.adult_height_lowest_weight.txt"                   
[20] "demographics.are_you_claiming_a_personal_independence_payment" 
[21] "demographics.are_you_registered_as_hearing_impaired"           
[22] "demographics.what_is_your_religion"                            
[23] "demographics.assistance_carer_carry_daily"                     
[24] "demographics.in_which_country_do_you_currently_reside"         
[25] "demographics.live"                                             
[26] "demographics.corrected_vision_registered_select"               
[27] "demographics.select_questionnaire_items_medical"               
[28] "demographics.which_gender_do_you_identify_with"                
[29] "demographics.which_gender_do_you_identify_with.txt"            
[30] "demographics.disability"                                       
[31] "demographics.sight_hearing_impairment_disability.txt"          
[32] "demographics.day"                                              
[33] "demographics.month"                                            
[34] "demographics.year"                                             
[35] "demographics.baby_pregnant_months"                             

Select variables

[1] 173
[1] "1985-03-30" "1994-08-27" "1951-12-10" "1967-08-27" "1957-08-25"
[6] "1962-11-09"

Cohort information

Information on INTERVAL, COMPARE, and STRIDES http://www.donorhealth-btru.nihr.ac.uk/studies/

[1] "NBR ID"           "gender"           "ethnicity"        "cohort"          
[5] "age"              "bmi"              "consumes_alcohol" "smoking_status"  
[9] "smoker_gave_up"  
[1] 0
[1] 0

RAMP

Read in data

Select variables

Demographics variable creation

Gender categories synchronised

RAMP has the correct Gender categories so does not need editing.

Ethnicity recoding

Clean Age variable

Age outlier

Warning: `funs()` is deprecated as of dplyr 0.8.0.
Please use a list of either functions or lambdas: 

  # Simple named list: 
  list(mean = mean, median = median)

  # Auto named with `tibble::lst()`: 
  tibble::lst(mean, median)

  # Using lambdas
  list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
Descriptive Statistics  
dem.raw.id$Age  
N: 17447  

                         Age
----------------- ----------
             Mean      54.51
          Std.Dev      14.27
              Min      16.00
               Q1      45.00
           Median      57.00
               Q3      66.00
              Max     111.00
              MAD      14.83
              IQR      21.00
               CV       0.26
         Skewness      -0.50
      SE.Skewness       0.02
         Kurtosis      -0.52
          N.Valid   17440.00
        Pct.Valid      99.96

Categorise age into groups

In RAMP, age is indicated categorically: 16-18, 19-25, 26-35, 36-45, 46-55, 56-65, 66-70, 71-75, 76-80, 81-85, 86-90, 91-100, 100+ Age categories in GLAD, EDGI and NBR have been created to reflect this

Frequencies  
dem.raw.id$age_category  
Type: Factor  

                Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
------------ ------- --------- -------------- --------- --------------
       16-18      25      0.14           0.14      0.14           0.14
       19-25     531      3.04           3.19      3.04           3.19
       26-35    1755     10.06          13.25     10.06          13.25
       36-45    2162     12.40          25.65     12.39          25.64
       46-55    3613     20.72          46.36     20.71          46.35
       56-65    4931     28.27          74.64     28.26          74.61
       66-70    2338     13.41          88.04     13.40          88.01
       71-75    1576      9.04          97.08      9.03          97.04
       76-80     410      2.35          99.43      2.35          99.39
       81-85      78      0.45          99.88      0.45          99.84
       86-90      16      0.09          99.97      0.09          99.93
      91-100       2      0.01          99.98      0.01          99.94
        100+       3      0.02         100.00      0.02          99.96
        <NA>       7                               0.04         100.00
       Total   17447    100.00         100.00    100.00         100.00

Highest education (prepandemic, GLAD & EDGI)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Check highest education coding

Employment

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

 [1] "externalDataReference"                                                      
 [2] "startDate"                                                                  
 [3] "endDate"                                                                    
 [4] "subjectid"                                                                  
 [5] "employment.phd"                                                             
 [6] "employment.masters_degree_or_equivalent"                                    
 [7] "employment.postgraduate_degree_or_equivalent"                               
 [8] "employment.bachelors_degree_or_equivalent"                                  
 [9] "employment.a_levelsas_levels_or_equivalent"                                 
[10] "employment.o_levelsgcses_or_equivalent"                                     
[11] "employment.cses_or_equivalent"                                              
[12] "employment.nvq_or_hnd_or_hnc_or_equivalent"                                 
[13] "employment.other_professional_qualifications_e.g._nursing_teaching"         
[14] "employment.other_professional_qualifications_e.g._nursing_teaching_text.txt"
[15] "employment.none_of_the_above"                                               
[16] "employment.fulltime_employed"                                               
[17] "employment.parttime_employed"                                               
[18] "employment.unemployed"                                                      
[19] "employment.zerohours_contract"                                              
[20] "employment.stayathome_parent_or_carer"                                      
[21] "employment.selfemployed"                                                    
[22] "employment.contract_or_freelance_work"                                      
[23] "employment.small_business_owner"                                            
[24] "employment.receiving_state_income"                                          
[25] "employment.retired"                                                         
[26] "employment.student_gcse_or_a_level"                                         
[27] "employment.student_university"                                              
[28] "employment.my_employment_status_has_not_changed"                            
[29] "employment.became_unemployed"                                               
[30] "employment.reduction_in_hours"                                              
[31] "employment.reduction_in_salary"                                             
[32] "employment.benefits_increased"                                              
[33] "employment.benefits_decreased"                                              
[34] "employment.change_in_duties_or_responsibilities"                            
[35] "employment.became_employed"                                                 
[36] "employment.increased_hours"                                                 
[37] "employment.increased_salary"                                                
[38] "employment.furloughed_or_paid_leave_government_funded"                      
[39] "employment.furloughed_or_paid_leave_company_funded"                         
[40] "employment.paid_leave_furloughed"                                           
[41] "employment.taking_unpaid_leave"                                             
[42] "employment.other"                                                           
[43] "employment.other_text.txt"                                                  
[44] "employment.no_impact"                                                       
[45] "employment.cancelled_exams"                                                 
[46] "employment.change_in_format_of_exams"                                       
[47] "employment.automatic_pass"                                                  
[48] "employment.change_in_deadlines"                                             
[49] "employment.change_in_lesson_delivery"                                       
[50] "employment.past_performance_grade_decided"                                  
[51] "employment.cancelled_classes"                                               
[52] "employment.cannot_complete_degree"                                          
[53] "employment.impact_on_studies_still_unknown"                                 
[54] "employment.other.1"                                                         
[55] "employment.other_text.txt.1"                                                
[56] "employment.complete_home_work"                                              
[57] "employment.are_you_currently_working_from_home"                             
[58] "employment.attend_work_encouraged_work"                                     
[59] "employment.government_work_key_workers"                                     
[60] "employment.government_work_key_workers.txt"                                 
[61] "employment.type_role"                                                       
[62] "employment.type_role.1"                                                     
[63] "employment.type_role.txt"                                                   
[64] "employment.does_your_job_include_caring_for_others"                         
[65] "employment.is_your_job_public_facing_"                                      
[66] "employment.job_due_losing_risk"                                             
[67] "employment.increased_due_job_pandemic"                                      

Select variables

RAMP

Read in data

Select variables

Highest education (baseline, GLAD, EDGI, NBR)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Frequencies  
employment.raw.id$highest_education  
Type: Factor  

                    Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
---------------- ------- --------- -------------- --------- --------------
        GCSE/CSE    2590     15.80          15.80     14.84          14.84
             NVQ    1836     11.20          27.00     10.52          25.37
        A-levels    3176     19.38          46.38     18.20          43.57
      University    8788     53.62         100.00     50.37          93.94
            <NA>    1057                               6.06         100.00
           Total   17447    100.00         100.00    100.00         100.00
Check highest education coding

Highest education (baseline, RAMP)

Check highest education coding for RAMP

Key worker status

Frequencies  
employment.raw.id$key_worker  
Type: Factor  

                       Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
------------------- ------- --------- -------------- --------- --------------
      No key worker   11398     65.54          65.54     65.33          65.33
         Key worker    5992     34.46         100.00     34.34          99.67
               <NA>      57                               0.33         100.00
              Total   17447    100.00         100.00    100.00         100.00

Columns to exclude from add_numeric

mhd

GLAD

EDGI

NBR

  [1] "externalDataReference"                                  
  [2] "startDate"                                              
  [3] "endDate"                                                
  [4] "subjectid"                                              
  [5] "mhd.depression"                                         
  [6] "mhd.pregnancy_depression"                               
  [7] "mhd.premenstrual_dysphoric_disorder_pmdd"               
  [8] "mhd.mania_hypomania_bipolar_or_manicdepression"         
  [9] "mhd.anxiety_nerves_or_generalised_anxiety_disorder"     
 [10] "mhd.social_anxiety_or_social_phobia"                    
 [11] "mhd.specific_phobia_e.g._fear_of_flying"                
 [12] "mhd.agoraphobia"                                        
 [13] "mhd.panic_attacks"                                      
 [14] "mhd.panic_disorder"                                     
 [15] "mhd.posttraumatic_stress_disorder_ptsd"                 
 [16] "mhd.obsessivecompulsive_disorder_ocd"                   
 [17] "mhd.body_dysmorphic_disorder_bdd"                       
 [18] "mhd.obsessive_compulsive_related_disorders"             
 [19] "mhd.none_of_the_above"                                  
 [20] "mhd.dont_know"                                          
 [21] "mhd.prefer_not_to_answer"                               
 [22] "mhd.depression.1"                                       
 [23] "mhd.depression_during_or_after_pregnancy"               
 [24] "mhd.premenstrual_dysphoric_disorder"                    
 [25] "mhd.mania_hypomania_bipolar_or_manicdepression.1"       
 [26] "mhd.social_anxiety_or_social_phobia.1"                  
 [27] "mhd.specific_phobia"                                    
 [28] "mhd.agoraphobia.1"                                      
 [29] "mhd.panic_attacks.1"                                    
 [30] "mhd.panic_disorder.1"                                   
 [31] "mhd.posttraumatic_stress_disorder"                      
 [32] "mhd.obsessivecompulsive_disorder"                       
 [33] "mhd.body_dysmorphic_disorder"                           
 [34] "mhd.other_obsessivecompulsive_related_disorders"        
 [35] "mhd.anxiety_nerves_or_generalised_anxiety_disorder.1"   
 [36] "mhd.depression.2"                                       
 [37] "mhd.depression_during_or_after_pregnancy.1"             
 [38] "mhd.premenstrual_dysphoric_disorder.1"                  
 [39] "mhd.mania_hypomania_bipolar_or_manicdepression.2"       
 [40] "mhd.social_anxiety_or_social_phobia.2"                  
 [41] "mhd.specific_phobia.1"                                  
 [42] "mhd.agoraphobia.2"                                      
 [43] "mhd.panic_attacks.2"                                    
 [44] "mhd.panic_disorder.2"                                   
 [45] "mhd.posttraumatic_stress_disorder.1"                    
 [46] "mhd.obsessivecompulsive_disorder.1"                     
 [47] "mhd.body_dysmorphic_disorder.1"                         
 [48] "mhd.other_obsessivecompulsive_related_disorders.1"      
 [49] "mhd.anxiety_nerves_or_generalised_anxiety_disorder.2"   
 [50] "mhd.schizophrenia"                                      
 [51] "mhd.psychosis_type_psychotic_illness"                   
 [52] "mhd.personality_disorder"                               
 [53] "mhd.autism_spectrum_disorder_asd"                       
 [54] "mhd.attention_deficit_hyperactivity_disorder"           
 [55] "mhd.other"                                              
 [56] "mhd.other_text.txt"                                     
 [57] "mhd.none_of_the_above.1"                                
 [58] "mhd.dont_know.1"                                        
 [59] "mhd.prefer_not_to_answer.1"                             
 [60] "mhd.schizophrenia.1"                                    
 [61] "mhd.psychosis_type_psychotic_illness.1"                 
 [62] "mhd.autism_spectrum_disorder"                           
 [63] "mhd.attention_deficit_hyperactivity_disorder.1"         
 [64] "mhd.other_qqid1175choicetextentryvalue21"               
 [65] "mhd.personality_disorder_diagnosed"                     
 [66] "mhd.paranoid_personality_disorder"                      
 [67] "mhd.schizotypal_personality_disorder"                   
 [68] "mhd.antisocial_personality_disorder"                    
 [69] "mhd.borderlineemotionally_unstable_personality_disorder"
 [70] "mhd.histrionic_personality_disorder"                    
 [71] "mhd.narcissistic_personality_disorder"                  
 [72] "mhd.avoidantanxious_personality_disorder"               
 [73] "mhd.dependent_personality_disorder"                     
 [74] "mhd.obsessivecompulsive_personality_disorder"           
 [75] "mhd.schizoid_personality_disorder"                      
 [76] "mhd.suspected_eating_disorder_diagnosed"                
 [77] "mhd.received_treatment_eating_disorder"                 
 [78] "mhd.anorexia_nervosa"                                   
 [79] "mhd.atypical_anorexia_nervosa"                          
 [80] "mhd.bulimia_nervosa"                                    
 [81] "mhd.atypical_bulimia_nervosa"                           
 [82] "mhd.bingeeating_disorder"                               
 [83] "mhd.atypical_bingeeating_disorder"                      
 [84] "mhd.purging_disorder"                                   
 [85] "mhd.nighteating_syndrome"                               
 [86] "mhd.pica"                                               
 [87] "mhd.avoidantrestrictive_food_intake_disorder_arfid"     
 [88] "mhd.rumination_eating_disorder"                         
 [89] "mhd.feeding_eating_disorder"                            
 [90] "mhd.other_eating_disorder"                              
 [91] "mhd.other_eating_disorder_text.txt"                     
 [92] "mhd.none_of_the_above.2"                                
 [93] "mhd.dont_know.2"                                        
 [94] "mhd.prefer_not_to_answer.2"                             
 [95] "mhd.anorexia_nervosa.1"                                 
 [96] "mhd.atypical_anorexia_nervosa.1"                        
 [97] "mhd.bulimia_nervosa.1"                                  
 [98] "mhd.atypical_bulimia_nervosa.1"                         
 [99] "mhd.bingeeating_disorder.1"                             
[100] "mhd.atypical_bingeeating_disorder.1"                    
[101] "mhd.purging_disorder.1"                                 
[102] "mhd.nighteating_syndrome.1"                             
[103] "mhd.pica.1"                                             
[104] "mhd.avoidantrestrictive_food_intake_disorder"           
[105] "mhd.rumination_eating_disorder.1"                       
[106] "mhd.other_eating_disorder.1"                            
[107] "mhd.other_specified_feeding_or_eating_disorder"         
[108] "mhd.anorexia_nervosa.2"                                 
[109] "mhd.atypical_anorexia_nervosa.2"                        
[110] "mhd.bulimia_nervosa.2"                                  
[111] "mhd.atypical_bulimia_nervosa.2"                         
[112] "mhd.bingeeating_disorder.2"                             
[113] "mhd.atypical_bingeeating_disorder.2"                    
[114] "mhd.purging_disorder.2"                                 
[115] "mhd.nighteating_syndrome.2"                             
[116] "mhd.pica.2"                                             
[117] "mhd.avoidantrestrictive_food_intake_disorder.1"         
[118] "mhd.rumination_eating_disorder.2"                       
[119] "mhd.other_eating_disorder.2"                            
[120] "mhd.other_specified_feeding_or_eating_disorder.1"       
[121] "mhd.prevented_usual_activities_mental"                  
[122] "mhd.unusual_experiences_seek_receive"                   
[1] 173

RAMP

Grouping mental health disorders

#Disorder groupings - from COPING/RAMP analysis minutes 1. Depressive disorder group: major depression, antenatal/postnatal depression, premenstrual depression. The logic for this has been double checked for males - KT/MD. 2. Anxiety group: generalised anxiety, social anxiety, specific phobia, agoraphobia, panic_disorder, panic_attacks. 3. Agoraphobia and panic_disorder group: panic_disorder, agoraphobia, panic_attacks. 4. Eating disorders group: anorexianervosa, atypical anorexia nervosa, bulimia nervosa, overeating or bingeeating. 5. Obsessive complusive disorders: obsessive compulaive disorder, obsessive compulsive related disorders. 6. Psychotic disorders: schizophrenia, schizoaffective disorder, general psychosis or psychotic illness. 7. Personality disorders: cluster A, cluster B, cluster C 8. Control group: no diagnosed disorders.

Disorders of interest MDD and other depressive disorders Anxiety, nerves or generalised anxiety disorder Social anxiety Specific phobia Agoraphobia/panic disorder/panic attacks OCD (& OCD-related disorders e.g., skin picking?) PTSD Bipolar Eating disorders (Anorexia, BE-type EDs) Personality disorder: Clusters A, B, and C No-diagnosis group

Analysis plan of Disorders: KY and KP analysis plan 1. Basic: any anxiety or unipolar depressive disorder vs. those with no prior diagnosis 2. Specific: breakdown by type of prior anxiety (& related) disorder diagnosis 3. Breakdown by COVID or not (using COVIDENCE/Zoe algorithm)

Depressive disorders

Warning: Problem with `mutate()` input `depressive_disorders`.
ℹ NAs introduced by coercion
ℹ Input `depressive_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depressive_disorders  
Type: Factor  

                                Freq   % Valid   % Total
---------------------------- ------- --------- ---------
      No depressive disorder   13278     76.72     76.10
         Depressive disorder    4028     23.28     23.09
                        <NA>     141                0.81
                       Total   17447    100.00    100.00

Anxiety disorders

Warning: Problem with `mutate()` input `anxiety_disorders`.
ℹ NAs introduced by coercion
ℹ Input `anxiety_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$anxiety_disorders  
Type: Factor  

                             Freq   % Valid   % Total
------------------------- ------- --------- ---------
      No anxiety disorder   14559     84.13     83.45
         Anxiety disorder    2747     15.87     15.74
                     <NA>     141                0.81
                    Total   17447    100.00    100.00

Agoraphobia and panic disorder group

Warning: Problem with `mutate()` input `agoraphobia_panic_disorder`.
ℹ NAs introduced by coercion
ℹ Input `agoraphobia_panic_disorder` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$agoraphobia_panic_disorder  
Type: Factor  

                                       Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------------------------- ------- --------- -------------- --------- --------------
      No agoraphobia/panic disorder   16331     94.37          94.37     93.60          93.60
         Agoraphobia/panic disorder     975      5.63         100.00      5.59          99.19
                               <NA>     141                               0.81         100.00
                              Total   17447    100.00         100.00    100.00         100.00

Depression and anxiety comorbidity

Warning: Problem with `mutate()` input `depression_and_anxiety`.
ℹ NAs introduced by coercion
ℹ Input `depression_and_anxiety` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depression_and_anxiety  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No depressive or anxiety disorder   12276     70.93     70.36
        Depressive and anxiety disorder    1745     10.08     10.00
               Only depressive disorder    2283     13.19     13.09
                  Only anxiety disorder    1002      5.79      5.74
                                   <NA>     141                0.81
                                  Total   17447    100.00    100.00

Eating disorders

There is routing questionnaire if participants have been diagnosed with an eating disorder and afterwards they get asked the specific disorders. Therefore, mhd.suspected_eating_disorder_diagnosed_numeric needs to be recoded as 0 otherwise they would be NAs.

Warning: Problem with `mutate()` input `eating_disorders`.
ℹ NAs introduced by coercion
ℹ Input `eating_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$eating_disorders  
Type: Factor  

                            Freq   % Valid   % Total
------------------------ ------- --------- ---------
      No eating disorder   17076     98.48     97.87
         Eating disorder     263      1.52      1.51
                    <NA>     108                0.62
                   Total   17447    100.00    100.00

For EDGI does not include other eating disorders, such as purging disorder, rumination disorder, ARFID, or Pica

Eating disorders with binge eating vs eating disorders without Caveat: Anorexia nervosa can have binge eating as well. Therefore, this would need an additional variable from the ED100K

Warning: Problem with `mutate()` input `restricting_vs_binge_eating_eating_disorders`.
ℹ NAs introduced by coercion
ℹ Input `restricting_vs_binge_eating_eating_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$restricting_vs_binge_eating_eating_disorders  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
                     No eating disorder   17076     98.48     97.87
                       Anorexia nervosa     139      0.80      0.80
      Eating disorder with binge eating     124      0.72      0.71
                                   <NA>     108                0.62
                                  Total   17447    100.00    100.00

Obsessive compulsive disorders

Warning: Problem with `mutate()` input `obsessive_compulsive_disorders`.
ℹ NAs introduced by coercion
ℹ Input `obsessive_compulsive_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$obsessive_compulsive_disorders  
Type: Factor  

                                          Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------------------- ------- --------- -------------- --------- --------------
      No obsessive compulsive disorder   17069     98.63          98.63     97.83          97.83
         Obsessive compulsive disorder     237      1.37         100.00      1.36          99.19
                                  <NA>     141                               0.81         100.00
                                 Total   17447    100.00         100.00    100.00         100.00

Psychotic disorders

“mhd.schizophrenia_numeric”
“mhd.schizoaffective_disorder_numeric”
“mhd.type_psychosis_psychotic_illness_numeric”

Warning: Problem with `mutate()` input `psychotic_disorders`.
ℹ NAs introduced by coercion
ℹ Input `psychotic_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$psychotic_disorders  
Type: Factor  

                               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------- ------- --------- -------------- --------- --------------
      No psychotic disorder   17193     99.65          99.65     98.54          98.54
         Psychotic disorder      61      0.35         100.00      0.35          98.89
                       <NA>     193                               1.11         100.00
                      Total   17447    100.00         100.00    100.00         100.00

Overlap between self-report schizophrenia and bipolar disorder +++CH: Check overlap between schizophrenia group and bipolar disorder ++KT: Only 63 with comorbid self-report bipolar disorder and schizophrenia. More likely to have shared symptoms, less likely to have confirmed diagnoses of both. Could be too severe to be in GLAD?

Warning: Problem with `mutate()` input `bipolar_and_schizophrenia`.
ℹ NAs introduced by coercion
ℹ Input `bipolar_and_schizophrenia` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$bipolar_and_schizophrenia  
Type: Factor  

                                          Freq   % Valid   % Total
-------------------------------------- ------- --------- ---------
      No psychotic or bipolar disorder   17060     99.09     97.78
        Psychotic and bipolar disorder      15      0.09      0.09
               Only psychotic disorder      46      0.27      0.26
                 Only bipolar disorder      95      0.55      0.54
                                  <NA>     231                1.32
                                 Total   17447    100.00    100.00

Autism spectrum disorder

Frequencies  
mhd.raw.id$autism_spectrum_disorder  
Type: Factor  

                                     Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------------- ------- --------- -------------- --------- --------------
      No autism spectrum disorder   17188     99.62          99.62     98.52          98.52
         Autism spectrum disorder      66      0.38         100.00      0.38          98.89
                             <NA>     193                               1.11         100.00
                            Total   17447    100.00         100.00    100.00         100.00

Personality disorders

++KT: For all cluster coding chunks - have added other clusters as == 0, so that they are not coerced into NAs. Cluster A 1. Paranoid 28 ( 1.0%) 2. Schizoid 15 ( 0.5%) 3. Schizotypal 14 ( 0.5%)

Warning: Problem with `mutate()` input `personality_cluster_a`.
ℹ NAs introduced by coercion
ℹ Input `personality_cluster_a` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_a  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster A   17236     99.97     98.79
         Personality disorder cluster A       5      0.03      0.03
                                   <NA>     206                1.18
                                  Total   17447    100.00    100.00

Cluster B 4. Antisocial 24 ( 0.8%) 5. Borderline 2553 (89.4%) 6. Histrionic 7 ( 0.2%) 7. Narcissistic 8 ( 0.3%)

Warning: Problem with `mutate()` input `personality_cluster_b`.
ℹ NAs introduced by coercion
ℹ Input `personality_cluster_b` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_b  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster B   17159     99.52     98.35
         Personality disorder cluster B      82      0.48      0.47
                                   <NA>     206                1.18
                                  Total   17447    100.00    100.00

Cluster C 8. Avoidant/anxious 133 ( 4.7%) 9. Dependent 29 ( 1.0%) 10. Obsessive-compulsive

Warning: Problem with `mutate()` input `personality_cluster_c`.
ℹ NAs introduced by coercion
ℹ Input `personality_cluster_c` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_c  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster C   17233     99.95     98.77
         Personality disorder cluster C       8      0.05      0.05
                                   <NA>     206                1.18
                                  Total   17447    100.00    100.00

Controls

These individuals have no self report diagnosis of any kind that we measure.

Warning: Problem with `mutate()` input `control`.
ℹ NAs introduced by coercion
ℹ Input `control` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$control  
Type: Factor  

                    Freq   % Valid   % Total
---------------- ------- --------- ---------
      No control    5637     32.60     32.31
         Control   11652     67.40     66.79
            <NA>     158                0.91
           Total   17447    100.00    100.00

Inspect the participants that do not qualify as double “None of these”

Total disorder count

Frequencies  
mhd.raw.id$disorders_total_count  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   12011     69.82     68.84
          1    3180     18.49     18.23
          2    1522      8.85      8.72
          3     349      2.03      2.00
          4      91      0.53      0.52
          5      30      0.17      0.17
          6      18      0.10      0.10
          7       2      0.01      0.01
       <NA>     244                1.40
      Total   17447    100.00    100.00

Comorbidity count

Frequencies  
mhd.raw.id$comorbidity_total_count_numeric  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    3180     61.25     18.23
          1    1522     29.31      8.72
          2     349      6.72      2.00
          3      91      1.75      0.52
          4      30      0.58      0.17
          5      18      0.35      0.10
          6       2      0.04      0.01
       <NA>   12255               70.24
      Total   17447    100.00    100.00
Warning: Problem with `mutate()` input `comorbidity_total_count_factor`.
ℹ NAs introduced by coercion
ℹ Input `comorbidity_total_count_factor` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$comorbidity_total_count_factor  
Type: Factor  

                              Freq   % Valid   % Total
-------------------------- ------- --------- ---------
            No comorbidity    3180     61.25     18.23
        1 comorbid disoder    1522     29.31      8.72
       2 comorbid disoders     349      6.72      2.00
      3+ comorbid disoders     141      2.72      0.81
                      <NA>   12255               70.24
                     Total   17447    100.00    100.00

Inspection

Create new dataframe with the derived categories

Prepandemic

GAD (prepan)

Calculate sum score for GAD-7 Max should be 21.

*Note that scores with missingness will be changed to NA later in the script

missingness (NAs per person)

prepandemic

PCL (prepan)

Calculate sum score for PCL-6

*Note that scores with missingness will be changed to NA later in the script

Missigness

prepandemic

PHQ (prepan)

Calculate sum score for PHQ-9

*Note that scores with missingness will be changed to NA later in the script

PHQ missingness (NAs per person)

prepandemic

all times

+++CH: THINK ABOUT THIS!!!

8 items

OCIR (prepan)

Calculate sum score for OCI-R

*Note that scores with missingness will be changed to NA later in the script

prepandemic

COPING GAD-7

GLAD

EDGI

NBR

 [1] "externalDataReference"                         
 [2] "startDate"                                     
 [3] "endDate"                                       
 [4] "subjectid"                                     
 [5] "gad.problems_made_care_difficult"              
 [6] "gad.pandemic_felt_feelings"                    
 [7] "gad.feeling_nervous_anxious_or_on_edge"        
 [8] "gad.control_worrying_stop"                     
 [9] "gad.worrying_too_much_about_different_things"  
[10] "gad.trouble_relaxing"                          
[11] "gad.sit_restless_hard"                         
[12] "gad.becoming_easily_annoyed_or_irritable"      
[13] "gad.feeling_afraid_awful_happen"               
[14] "gad.feeling_nervous_anxious_or_on_edge.1"      
[15] "gad.control_worrying_stop.1"                   
[16] "gad.worrying_too_much_about_different_things.1"
[17] "gad.trouble_relaxing.1"                        
[18] "gad.sit_restless_hard.1"                       
[19] "gad.becoming_easily_annoyed_or_irritable.1"    
[20] "gad.feeling_afraid_awful_happen.1"             
[1] 173

RAMP

Sum scores

Calculate sum score for GAD-7 retrospective

Warning in scoreItems(keys = gad.items_key_retro, items =
coping.gad.raw.id[gad.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 17447  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.17
        Std.Dev                      2.57
            Min                      0.00
         Median                      0.00
            Max                     21.00
        N.Valid                  17447.00
      Pct.Valid                    100.00

Calculate sum score for GAD-7 baseline

Warning in scoreItems(keys = gad.items_key_base, items =
coping.gad.raw.id[gad.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 17447  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     2.62
        Std.Dev                     3.88
            Min                     0.00
         Median                     1.00
            Max                    21.00
        N.Valid                 17447.00
      Pct.Valid                   100.00

Missingness

baseline

Frequencies  
coping.gad.raw.id$na_per_person_gad_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   16666     95.52     95.52
          1       8      0.05      0.05
          2       7      0.04      0.04
          3       2      0.01      0.01
          4       1      0.01      0.01
          5       1      0.01      0.01
          6       4      0.02      0.02
          7     758      4.34      4.34
       <NA>       0                0.00
      Total   17447    100.00    100.00
Frequencies  
coping.gad.raw.id$na_per_person_gad_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    6991     40.07     40.07
          1      12      0.07      0.07
          2       4      0.02      0.02
          3       1      0.01      0.01
          5       1      0.01      0.01
          6       3      0.02      0.02
          7   10435     59.81     59.81
       <NA>       0                0.00
      Total   17447    100.00    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 17447  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     2.62
        Std.Dev                     3.88
            Min                     0.00
         Median                     1.00
            Max                    21.00
        N.Valid                 17447.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base  
N: 17447  

                  gad.sum_score_base
--------------- --------------------
           Mean                 2.74
        Std.Dev                 3.92
            Min                 0.00
         Median                 1.00
            Max                21.00
        N.Valid             16666.00
      Pct.Valid                95.52
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 17447  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.17
        Std.Dev                      2.57
            Min                      0.00
         Median                      0.00
            Max                     21.00
        N.Valid                  17447.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro  
N: 17447  

                  gad.sum_score_retro
--------------- ---------------------
           Mean                  2.90
        Std.Dev                  3.38
            Min                  0.00
         Median                  2.00
            Max                 21.00
        N.Valid               6991.00
      Pct.Valid                 40.07

Inspection

COPING: PCL-6

GLAD

Note: Retro for the PCL does not mean retrospective

EDGI

Note: Retro for the PCL does not mean retrospective

NBR

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "subjectid"                                        
 [5] "pcl.stressful_experience_repeated_images"         
 [6] "pcl.stressful_experience_upset_reminded"          
 [7] "pcl.avoiding_activities_stressful_experience"     
 [8] "pcl.cut_people_feeling_distant"                   
 [9] "pcl.feeling_irritable_or_having_angry_outbursts"  
[10] "pcl.difficulty_concentrating"                     
[11] "pcl.stressful_experience_repeated_images.1"       
[12] "pcl.stressful_experience_upset_reminded.1"        
[13] "pcl.avoiding_activities_stressful_experience.1"   
[14] "pcl.cut_people_feeling_distant.1"                 
[15] "pcl.feeling_irritable_or_having_angry_outbursts.1"
[16] "pcl.difficulty_concentrating.1"                   

Note: Retro for the PCL does not mean retrospective

[1] 173

RAMP

Note: Retro for the PCL does not mean retrospective

Recode RAMP PCL retro scores

 [1] "Sample"                                                       
 [2] "ID"                                                           
 [3] "pcl.stressful_experience_repeated_images_base"                
 [4] "pcl.stressful_experience_upset_reminded_base"                 
 [5] "pcl.stressful_situation_avoiding_activities_base"             
 [6] "pcl.cut_people_feeling_distant_base"                          
 [7] "pcl.feeling_irritable_or_having_angry_outbursts_base"         
 [8] "pcl.difficulty_concentrating_base"                            
 [9] "pcl.stressful_experience_repeated_images_retro"               
[10] "pcl.stressful_experience_upset_reminded_retro"                
[11] "pcl.stressful_situation_avoiding_activities_retro"            
[12] "pcl.cut_people_feeling_distant_retro"                         
[13] "pcl.feeling_irritable_or_having_angry_outbursts_retro"        
[14] "pcl.difficulty_concentrating_retro"                           
[15] "pcl.stressful_experience_repeated_images_base_numeric"        
[16] "pcl.stressful_experience_upset_reminded_base_numeric"         
[17] "pcl.stressful_situation_avoiding_activities_base_numeric"     
[18] "pcl.cut_people_feeling_distant_base_numeric"                  
[19] "pcl.feeling_irritable_or_having_angry_outbursts_base_numeric" 
[20] "pcl.difficulty_concentrating_base_numeric"                    
[21] "pcl.stressful_experience_repeated_images_retro_numeric"       
[22] "pcl.stressful_experience_upset_reminded_retro_numeric"        
[23] "pcl.stressful_situation_avoiding_activities_retro_numeric"    
[24] "pcl.cut_people_feeling_distant_retro_numeric"                 
[25] "pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric"
[26] "pcl.difficulty_concentrating_retro_numeric"                   

Sum scores

Calculate sum score for PCL-6 retro

Warning in scoreItems(keys = pcl.items_key_retro, items =
coping.pcl.raw.id[pcl.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 17447  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      0.69
        Std.Dev                      1.15
            Min                      0.00
         Median                      0.00
            Max                      6.00
        N.Valid                  17447.00
      Pct.Valid                    100.00

Calculate sum score for PCL-6 base The sum scores here will not be accurate if we are using complete cases. Only use sum scores here for complete cases, otherwise the minimum will be 0 where it should be 6.

Warning in scoreItems(keys = pcl.items_key_base, items =
coping.pcl.raw.id[pcl.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 17447  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                     8.12
        Std.Dev                     4.16
            Min                     0.00
         Median                     7.00
            Max                    30.00
        N.Valid                 17447.00
      Pct.Valid                   100.00

Missingness

PCL missingness (NAs per person)

baseline

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   16133     92.47     92.47
          1     104      0.60      0.60
          2      13      0.07      0.07
          3       6      0.03      0.03
          4       7      0.04      0.04
          5       9      0.05      0.05
          6    1175      6.73      6.73
       <NA>       0                0.00
      Total   17447    100.00    100.00

retrospective

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0     909      5.21      5.21
          1    1053      6.04      6.04
          2    1259      7.22      7.22
          3    1998     11.45     11.45
          4    2449     14.04     14.04
          5    2805     16.08     16.08
          6    6974     39.97     39.97
       <NA>       0                0.00
      Total   17447    100.00    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 17447  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                     8.12
        Std.Dev                     4.16
            Min                     0.00
         Median                     7.00
            Max                    30.00
        N.Valid                 17447.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base  
N: 17447  

                  pcl.sum_score_base
--------------- --------------------
           Mean                 8.72
        Std.Dev                 3.66
            Min                 6.00
         Median                 7.00
            Max                30.00
        N.Valid             16133.00
      Pct.Valid                92.47
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 17447  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      0.69
        Std.Dev                      1.15
            Min                      0.00
         Median                      0.00
            Max                      6.00
        N.Valid                  17447.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro  
N: 17447  

                  pcl.sum_score_retro
--------------- ---------------------
           Mean                  2.10
        Std.Dev                  2.02
            Min                  0.00
         Median                  2.00
            Max                  6.00
        N.Valid                909.00
      Pct.Valid                  5.21

Inspection

COPING: PHQ

GLAD

Will need to double check these namings once we have the new cleaned data – KT.

EDGI

NBR

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "subjectid"                                        
 [5] "phq.problems_made_care_difficult"                 
 [6] "phq.pandemic_felt_feelings"                       
 [7] "phq.little_interest_or_pleasure_in_doing_things"  
 [8] "phq.feeling_down_depressed_or_hopeless"           
 [9] "phq.staying_asleep_sleeping_trouble"              
[10] "phq.feeling_tired_or_having_little_energy"        
[11] "phq.poor_appetite_or_overeating"                  
[12] "phq.family_feeling_bad_failure"                   
[13] "phq.trouble_concentrating_newspaper_reading"      
[14] "phq.moving_fidgety_opposite_slowly"               
[15] "phq.dead_hurting_thoughts"                        
[16] "phq.little_interest_or_pleasure_in_doing_things.1"
[17] "phq.feeling_down_depressed_or_hopeless.1"         
[18] "phq.staying_asleep_sleeping_trouble.1"            
[19] "phq.feeling_tired_or_having_little_energy.1"      
[20] "phq.poor_appetite_or_overeating.1"                
[21] "phq.family_feeling_bad_failure.1"                 
[22] "phq.trouble_concentrating_newspaper_reading.1"    
[23] "phq.moving_fidgety_opposite_slowly.1"             
[24] "phq.dead_hurting_thoughts.1"                      

Will need to double check these namings once we have the new cleaned data – KT.

[1] 173

RAMP

Will need to double check these namings once we have the new cleaned data – KT.

Sum scores

Calculate sum score for PHQ-9 retro

Warning in scoreItems(keys = phq.items_key_retro, items =
coping.phq.raw.id[phq.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 17447  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.63
        Std.Dev                      3.22
            Min                      0.00
         Median                      0.00
            Max                     27.00
        N.Valid                  17447.00
      Pct.Valid                    100.00

Calculate sum score for PHQ-9 base

Warning in scoreItems(keys = phq.items_key_base, items =
coping.phq.raw.id[phq.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 17447  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     3.73
        Std.Dev                     4.47
            Min                     0.00
         Median                     2.00
            Max                    27.00
        N.Valid                 17447.00
      Pct.Valid                   100.00

Missingness

retrospective

Frequencies  
coping.phq.raw.id$na_per_person_phq_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    7859     45.04     45.04
          1      19      0.11      0.11
          2       4      0.02      0.02
          3       1      0.01      0.01
          5       2      0.01      0.01
          6       3      0.02      0.02
          7       5      0.03      0.03
          8       3      0.02      0.02
          9    9551     54.74     54.74
       <NA>       0                0.00
      Total   17447    100.00    100.00
Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   17444     99.98     99.98
          1       3      0.02      0.02
       <NA>       0                0.00
      Total   17447    100.00    100.00

baseline

Frequencies  
coping.phq.raw.id$na_per_person_phq_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   17078     97.89     97.89
          1      22      0.13      0.13
          2      11      0.06      0.06
          3       5      0.03      0.03
          4       4      0.02      0.02
          5       2      0.01      0.01
          6       9      0.05      0.05
          7      12      0.07      0.07
          8      15      0.09      0.09
          9     289      1.66      1.66
       <NA>       0                0.00
      Total   17447    100.00    100.00

We need to identify those who have all items APART from the suicide ideation item - to still include these individuals.

Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   17441     99.97     99.97
          1       6      0.03      0.03
       <NA>       0                0.00
      Total   17447    100.00    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 17447  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     3.73
        Std.Dev                     4.47
            Min                     0.00
         Median                     2.00
            Max                    27.00
        N.Valid                 17447.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base  
N: 17447  

                  phq.sum_score_base
--------------- --------------------
           Mean                 3.79
        Std.Dev                 4.49
            Min                 0.00
         Median                 2.00
            Max                27.00
        N.Valid             17078.00
      Pct.Valid                97.89

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_base  
N: 17447  

                  phq.sum_score_8items_base
--------------- ---------------------------
           Mean                        3.73
        Std.Dev                        4.47
            Min                        0.00
         Median                        2.00
            Max                       27.00
        N.Valid                    17447.00
      Pct.Valid                      100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 17447  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.63
        Std.Dev                      3.22
            Min                      0.00
         Median                      0.00
            Max                     27.00
        N.Valid                  17447.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro  
N: 17447  

                  phq.sum_score_retro
--------------- ---------------------
           Mean                  3.60
        Std.Dev                  3.97
            Min                  0.00
         Median                  2.00
            Max                 27.00
        N.Valid               7859.00
      Pct.Valid                 45.04

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_retro  
N: 17447  

                  phq.sum_score_8items_retro
--------------- ----------------------------
           Mean                         1.63
        Std.Dev                         3.22
            Min                         0.00
         Median                         0.00
            Max                        27.00
        N.Valid                     17447.00
      Pct.Valid                       100.00

Inspection

COPING: OCI-R

GLAD

*Note that the COPING GLAD OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

EDGI

*Note that the COPING EDGI OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

NBR

 [1] "externalDataReference"                               
 [2] "startDate"                                           
 [3] "endDate"                                             
 [4] "recipientFirstName"                                  
 [5] "ocir.saved_things"                                   
 [6] "ocir.i_check_things_more_often_than_necessary."      
 [7] "ocir.arranged_properly_objects_upset"                
 [8] "ocir.feel_compelled_count_things"                    
 [9] "ocir.strangers_touch_touched_object"                 
[10] "ocir.control_difficult_thoughts_find"                
[11] "ocir.i_collect_things_i_dont_need."                  
[12] "ocir.i_repeatedly_check_doors_windows_drawers_etc."  
[13] "ocir.arranged_things_change_upset"                   
[14] "ocir.repeat_numbers_feel"                            
[15] "ocir.feel_contaminated_clean_simply"                 
[16] "ocir.mind_upset_unpleasant_thoughts"                 
[17] "ocir.afraid_avoid_throwing_things"                   
[18] "ocir.water_taps_light_switches"                      
[19] "ocir.arranged_things"                                
[20] "ocir.bad_numbers_good_feel"                          
[21] "ocir.longer_hands_wash"                              
[22] "ocir.frequently_rid_difficulty_nasty"                
[23] "ocir.felt_pandemic_feelings"                         
[24] "ocir.saved_things.1"                                 
[25] "ocir.i_check_things_more_often_than_necessary..1"    
[26] "ocir.arranged_properly_objects_upset.1"              
[27] "ocir.feel_compelled_count_things.1"                  
[28] "ocir.strangers_touch_touched_object.1"               
[29] "ocir.control_difficult_thoughts_find.1"              
[30] "ocir.i_collect_things_i_dont_need..1"                
[31] "ocir.i_repeatedly_check_doors_windows_drawers_etc..1"
[32] "ocir.arranged_things_change_upset.1"                 
[33] "ocir.repeat_numbers_feel.1"                          
[34] "ocir.feel_contaminated_clean_simply.1"               
[35] "ocir.mind_upset_unpleasant_thoughts.1"               
[36] "ocir.afraid_avoid_throwing_things.1"                 
[37] "ocir.water_taps_light_switches.1"                    
[38] "ocir.arranged_things.1"                              
[39] "ocir.bad_numbers_good_feel.1"                        
[40] "ocir.longer_hands_wash.1"                            
[41] "ocir.frequently_rid_difficulty_nasty.1"              

*Note that the COPING NBR OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

++MD: One NBR ID is being converted to NA by the as.numeric(ID) line of code.

Warning: Problem with `mutate()` input `ID`.
ℹ NAs introduced by coercion
ℹ Input `ID` is `as.numeric(ID)`.
Warning in mask$eval_all_mutate(dots[[i]]): NAs introduced by coercion
[1] 318

RAMP

*Note that the COPING RAMP OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

Sum scores

Calculate sum score for OCI-R retro

Warning in scoreItems(keys = ocir.items_key_retro, items =
coping.ocir.raw.id[ocir.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 13082  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       1.37
        Std.Dev                       5.29
            Min                       0.00
         Median                       0.00
            Max                      70.00
        N.Valid                   13082.00
      Pct.Valid                     100.00

Calculate sum score for OCI-R base

Warning in scoreItems(keys = ocir.items_key_base, items =
coping.ocir.raw.id[ocir.items_base], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 13082  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                      0.53
        Std.Dev                      3.16
            Min                      0.00
         Median                      0.00
            Max                     70.00
        N.Valid                  13082.00
      Pct.Valid                    100.00

Missingness

retrospective

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    1314     10.04     10.04
          1       4      0.03      0.03
          2       1      0.01      0.01
         17       1      0.01      0.01
         18   11762     89.91     89.91
       <NA>       0                0.00
      Total   13082    100.00    100.00

baseline

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0     687      5.25      5.25
          1       1      0.01      0.01
         18   12394     94.74     94.74
       <NA>       0                0.00
      Total   13082    100.00    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 13082  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                      0.53
        Std.Dev                      3.16
            Min                      0.00
         Median                      0.00
            Max                     70.00
        N.Valid                  13082.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base  
N: 13082  

                  ocir.sum_score_base
--------------- ---------------------
           Mean                 10.11
        Std.Dev                  9.67
            Min                  0.00
         Median                  8.00
            Max                 70.00
        N.Valid                687.00
      Pct.Valid                  5.25
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 13082  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       1.37
        Std.Dev                       5.29
            Min                       0.00
         Median                       0.00
            Max                      70.00
        N.Valid                   13082.00
      Pct.Valid                     100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro  
N: 13082  

                  ocir.sum_score_retro
--------------- ----------------------
           Mean                  13.57
        Std.Dev                  10.59
            Min                   0.00
         Median                  11.00
            Max                  70.00
        N.Valid                1314.00
      Pct.Valid                  10.04

Inspection

Neurological symptoms

ALS (alsfrs)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "subjectid"                                        
 [5] "alsfrs.limb_weakness_noticed_past"                
 [6] "alsfrs.normal"                                    
 [7] "alsfrs.slow_or_sloppy_all_words_are_legible"      
 [8] "alsfrs.not_all_words_are_legible"                 
 [9] "alsfrs.able_to_grip_pen"                          
[10] "alsfrs.unable_to_grip_pen"                        
[11] "alsfrs.have_you_noticed_any_difficulty_walking"   
[12] "alsfrs.do_you_have_any_difficulty_climbing_stairs"

Select variables

[1] 170

RAMP

Read in data

Select variables

Epsworth sleep scale (ess)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "subjectid"                                        
 [5] "ess.felt_excessively_sleepy_past"                 
 [6] "ess.sitting_and_reading"                          
 [7] "ess.watching_tv"                                  
 [8] "ess.sitting_inactive_in_a_public_place"           
 [9] "ess.break_passenger_car_hour"                     
[10] "ess.afternoon_rest_circumstances_lying"           
[11] "ess.sitting_and_talking_to_someone"               
[12] "ess.sitting_quietly_after_a_lunch_without_alcohol"
[13] "ess.car_minutes_stopped_traffic"                  
[14] "ess.insomnia"                                     
[15] "ess.narcolepsy"                                   
[16] "ess.rem_sleep_behaviour_disorder"                 
[17] "ess.restless_legs_syndrome"                       
[18] "ess.sleep_apnea"                                  
[19] "ess.sleep_terrors"                                
[20] "ess.sleepwalking"                                 
[21] "ess.other"                                        
[22] "ess.other_text.txt"                               
[23] "ess.none"                                         

Select variables

[1] 170

RAMP

Read in data

Select variables

Migraines (midas)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

 [1] "externalDataReference"               "startDate"                          
 [3] "endDate"                             "subjectid"                          
 [5] "midas.headaches_suffered_past_month" "midas.past_month_days"              
 [7] "midas.past_month_days.1"             "midas.past_month_days.2"            
 [9] "midas.past_month_days.3"             "midas.past_month_days.4"            

Select variables

[1] 170

RAMP

Read in data

Select variables

Loss of taste/smell (nmss)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

[1] "externalDataReference"         "startDate"                    
[3] "endDate"                       "subjectid"                    
[5] "nmss.ability_taste_food_smell" "nmss.severe_taste_smell_loss" 

Select variables

[1] 170

RAMP

Read in data

Select variables

Non-motor symptoms (nmsw)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

 [1] "externalDataReference"                 
 [2] "startDate"                             
 [3] "endDate"                               
 [4] "subjectid"                             
 [5] "nmsw.drink_problems_choking_difficulty"
 [6] "nmsw.regularly_night_pass_urine"       
 [7] "nmsw.sex_difficult_finding"            
 [8] "nmsw.weak_standing_feeling_light"      
 [9] "nmsw.acting_moving_sleep_talking"      
[10] "nmsw.double_vision"                    

Select variables

[1] 170

RAMP

Read in data

Select variables

Tinnitus

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

[1] "externalDataReference"               "startDate"                          
[3] "endDate"                             "subjectid"                          
[5] "tinnitus.ears_noises_minutes_head"   "tinnitus.ears_noises_minutes_head.1"
[7] "tinnitus.noises_worry_worst_upset"  

Select variables

[1] 170

RAMP

Read in data

Select variables

Join tibbles together

edgi data frame list

glad data frame list

Removing all prepandemic dataframes from NBR/RAMP (prepandemic measures don’t exist for these cohorts)

Data summary
Name dat.raw
Number of rows 17447
Number of columns 400
_______________________
Column type frequency:
character 5
Date 1
factor 182
numeric 211
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1.00 6 6 0 1 0
Cohort 119 0.99 3 8 0 7 0
Ethnicity.unc 3228 0.81 1 1 0 18 0
Cohort_numeric 119 0.99 3 8 0 7 0
Ethnicity.unc_numeric 3228 0.81 1 1 0 18 0

Variable type: Date

skim_variable n_missing complete_rate min max median n_unique
Birthdate 7 1 1909-09-12 2004-06-11 1963-06-19 11275

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
Birthyear_unc 0 1.00 FALSE 80 Pro: 547, Pro: 537, Pro: 535, Pro: 519
Birthmonth 0 1.00 FALSE 12 Pro: 1569, Pro: 1533, Pro: 1499, Pro: 1473
Birthday 0 1.00 FALSE 31 Pro: 636, Pro: 609, Pro: 608, Pro: 606
Gender_unc 23 1.00 FALSE 4 Fem: 9951, Mal: 7418, Non: 38, Pre: 17
Sex 0 1.00 FALSE 2 Fem: 9993, Mal: 7454
Ethnicity_full 3378 0.81 FALSE 17 Whi: 12875, Whi: 599, Whi: 182, Asi: 89
Ethnicity_unc 3378 0.81 FALSE 4 Whi: 13669, Asi: 184, Mix: 160, Bla: 56
Gender 23 1.00 FALSE 4 Fem: 9951, Mal: 7418, Non: 38, Pre: 17
Ethnicity 3378 0.81 FALSE 4 Whi: 13669, Asi: 184, Mix: 160, Bla: 56
age_category 7 1.00 FALSE 13 56-: 4931, 46-: 3613, 66-: 2338, 36-: 2162
employment.phd 13 1.00 FALSE 2 Not: 16773, PhD: 661
employment.masters_degree_or_equivalent 13 1.00 FALSE 2 Not: 14922, Mas: 2512
employment.postgraduate_degree_or_equivalent 13 1.00 FALSE 2 Not: 15476, Pos: 1958
employment.bachelors_degree_or_equivalent 13 1.00 FALSE 2 Not: 10175, Bac: 7259
employment.a_levelsas_levels_or_equivalent 13 1.00 FALSE 2 A l: 9074, Not: 8360
employment.o_levelsgcses_or_equivalent 13 1.00 FALSE 2 O l: 11777, Not: 5657
employment.cses_or_equivalent 13 1.00 FALSE 2 Not: 14239, CSE: 3195
employment.nvq_or_hnd_or_hnc_or_equivalent 13 1.00 FALSE 2 Not: 13300, NVQ: 4134
employment.government_work_key_workers 6946 0.60 FALSE 11 Non: 4509, Hea: 1833, Edu: 1054, Oth: 948
employment.unemployed 32 1.00 FALSE 2 Not: 16997, Une: 418
employment.zerohours_contract 32 1.00 FALSE 2 Not: 17129, Zer: 286
employment.stayathome_parent_or_carer 32 1.00 FALSE 2 Not: 16993, Sta: 422
employment.retired 32 1.00 FALSE 2 Not: 11217, Ret: 6198
employment.student_gcse_or_a_level 32 1.00 FALSE 2 Not: 17386, Stu: 29
employment.student_university 32 1.00 FALSE 2 Not: 17064, Stu: 351
employment.became_unemployed 5905 0.66 FALSE 2 Not: 11190, Bec: 352
employment.furloughed_or_paid_leave_government_funded 5905 0.66 FALSE 2 Not: 10389, Fur: 1153
employment.furloughed_or_paid_leave_company_funded 5905 0.66 FALSE 2 Not: 11339, Fur: 203
employment.paid_leave_furloughed 5905 0.66 FALSE 2 Not: 11054, Fur: 488
highest_education 1057 0.94 FALSE 4 Uni: 8788, A-l: 3176, GCS: 2590, NVQ: 1836
key_worker 57 1.00 FALSE 2 No : 11398, Key: 5992
anxiety_disorders 141 0.99 FALSE 2 No : 14559, Anx: 2747
mhd.specific_phobia_e.g._phobia_of_flying 141 0.99 FALSE 2 Not: 17194, Spe: 112
mhd.social_anxiety_or_social_phobia 141 0.99 FALSE 2 Not: 16966, Soc: 340
agoraphobia_panic_disorder 141 0.99 FALSE 2 No : 16331, Ago: 975
depressive_disorders 141 0.99 FALSE 2 No : 13278, Dep: 4028
eating_disorders 108 0.99 FALSE 2 No : 17076, Eat: 263
obsessive_compulsive_disorders 141 0.99 FALSE 2 No : 17069, Obs: 237
psychotic_disorders 193 0.99 FALSE 2 No : 17193, Psy: 61
mhd.mania_hypomania_bipolar_or_manicdepression 141 0.99 FALSE 2 Not: 17193, Man: 113
mhd.posttraumatic_stress_disorder_ptsd 141 0.99 FALSE 2 Not: 16935, Pos: 371
autism_spectrum_disorder 193 0.99 FALSE 2 No : 17188, Aut: 66
mhd.attention_deficit_hyperactivity_disorder 193 0.99 FALSE 2 Not: 17201, Att: 53
mhd.personality_disorder 193 0.99 FALSE 2 Not: 17146, Per: 108
personality_cluster_a 206 0.99 FALSE 2 No : 17236, Per: 5
personality_cluster_b 206 0.99 FALSE 2 No : 17159, Per: 82
personality_cluster_c 206 0.99 FALSE 2 No : 17233, Per: 8
depression_and_anxiety 141 0.99 FALSE 4 No : 12276, Onl: 2283, Dep: 1745, Onl: 1002
restricting_vs_binge_eating_eating_disorders 108 0.99 FALSE 3 No : 17076, Ano: 139, Eat: 124
bipolar_and_schizophrenia 231 0.99 FALSE 4 No : 17060, Onl: 95, Onl: 46, Psy: 15
control 158 0.99 FALSE 2 Con: 11652, No : 5637
comorbidity_total_count_factor 12255 0.30 FALSE 4 No : 3180, 1 c: 1522, 2 c: 349, 3+ : 141
mhd.none_of_the_above 141 0.99 FALSE 2 Non: 11853, Not: 5453
mhd.none_of_the_above.1 193 0.99 FALSE 2 Non: 16774, Not: 480
gad.problems_made_difficult_care 7647 0.56 FALSE 4 Not: 5705, Som: 3675, Ver: 289, Ext: 131
gad.pandemic_felt_feelings 784 0.96 FALSE 5 No : 9623, A l: 5131, Muc: 1313, A l: 432
gad.feeling_nervous_anxious_or_on_edge_retro 10446 0.40 FALSE 4 Not: 3847, Sev: 2718, Mor: 301, Nea: 135
gad.control_worrying_stop_retro 10444 0.40 FALSE 4 Not: 4730, Sev: 1880, Mor: 278, Nea: 115
gad.worrying_too_much_about_different_things_retro 10442 0.40 FALSE 4 Not: 3778, Sev: 2760, Mor: 322, Nea: 145
gad.trouble_relaxing_retro 10439 0.40 FALSE 4 Not: 4486, Sev: 2082, Mor: 292, Nea: 148
gad.sit_restless_hard_retro 10442 0.40 FALSE 4 Not: 5880, Sev: 925, Mor: 146, Nea: 54
gad.becoming_easily_annoyed_or_irritable_retro 10439 0.40 FALSE 4 Not: 4039, Sev: 2620, Mor: 235, Nea: 114
gad.awful_feeling_afraid_happen_retro 10439 0.40 FALSE 4 Not: 5366, Sev: 1324, Mor: 204, Nea: 114
gad.feeling_nervous_anxious_or_on_edge_base 765 0.96 FALSE 4 Not: 10368, Sev: 4906, Mor: 837, Nea: 571
gad.control_worrying_stop_base 769 0.96 FALSE 4 Not: 12629, Sev: 2938, Mor: 647, Nea: 464
gad.worrying_too_much_about_different_things_base 768 0.96 FALSE 4 Not: 11264, Sev: 4126, Mor: 769, Nea: 520
gad.trouble_relaxing_base 764 0.96 FALSE 4 Not: 11027, Sev: 4200, Mor: 845, Nea: 611
gad.sit_restless_hard_base 765 0.96 FALSE 4 Not: 13960, Sev: 2040, Mor: 443, Nea: 239
gad.becoming_easily_annoyed_or_irritable_base 771 0.96 FALSE 4 Not: 10658, Sev: 4879, Mor: 736, Nea: 403
gad.awful_feeling_afraid_happen_base 765 0.96 FALSE 4 Not: 12534, Sev: 3119, Mor: 610, Nea: 419
pcl.stressful_experience_repeated_images_base 1194 0.93 FALSE 5 Not: 12240, A l: 2783, Mod: 662, Qui: 442
pcl.stressful_experience_upset_reminded_base 1204 0.93 FALSE 5 Not: 11148, A l: 3643, Mod: 790, Qui: 502
pcl.stressful_situation_avoiding_activities_base 1212 0.93 FALSE 5 Not: 14023, A l: 1388, Mod: 460, Qui: 255
pcl.cut_people_feeling_distant_base 1209 0.93 FALSE 5 Not: 9406, A l: 4026, Mod: 1349, Qui: 1062
pcl.feeling_irritable_or_having_angry_outbursts_base 1222 0.93 FALSE 5 Not: 10915, A l: 4035, Mod: 798, Qui: 392
pcl.difficulty_concentrating_base 1230 0.93 FALSE 5 Not: 10201, A l: 4273, Mod: 964, Qui: 571
pcl.stressful_experience_repeated_images_retro 13444 0.23 FALSE 2 No: 3468, Yes: 535
pcl.stressful_experience_upset_reminded_retro 12358 0.29 FALSE 2 No: 4217, Yes: 872
pcl.stressful_situation_avoiding_activities_retro 15223 0.13 FALSE 2 No: 1858, Yes: 366
pcl.cut_people_feeling_distant_retro 10619 0.39 FALSE 2 Yes: 4739, No: 2089
pcl.feeling_irritable_or_having_angry_outbursts_retro 12145 0.30 FALSE 2 No: 2699, Yes: 2603
pcl.difficulty_concentrating_retro 11441 0.34 FALSE 2 No: 3043, Yes: 2963
phq.problems_made_difficult_care 4792 0.73 FALSE 4 Not: 7932, Som: 4176, Ver: 401, Ext: 146
phq.pandemic_felt_feelings 388 0.98 FALSE 5 No : 9135, A l: 5862, Muc: 1406, A l: 470
phq.little_interest_or_pleasure_in_doing_things_retro 9564 0.45 FALSE 4 Not: 5479, Sev: 2035, Mor: 264, Nea: 105
phq.feeling_down_depressed_or_hopeless_retro 9565 0.45 FALSE 4 Not: 4712, Sev: 2764, Mor: 284, Nea: 122
phq.staying_asleep_sleeping_trouble_retro 9566 0.45 FALSE 4 Not: 3691, Sev: 3213, Mor: 616, Nea: 361
phq.feeling_tired_or_having_little_energy_retro 9565 0.45 FALSE 4 Sev: 3545, Not: 3370, Mor: 604, Nea: 363
phq.poor_appetite_or_overeating_retro 9561 0.45 FALSE 4 Not: 5411, Sev: 1880, Mor: 399, Nea: 196
phq.feeling_bad_failure_family_retro 9562 0.45 FALSE 4 Not: 5513, Sev: 1893, Mor: 308, Nea: 171
phq.trouble_concentrating_reading_newspaper_retro 9563 0.45 FALSE 4 Not: 5896, Sev: 1613, Mor: 258, Nea: 117
phq.moving_fidgety_noticed_opposite_retro 9564 0.45 FALSE 4 Not: 7266, Sev: 462, Mor: 110, Nea: 45
phq.dead_hurting_thoughts_retro 9566 0.45 FALSE 4 Not: 7179, Sev: 569, Mor: 88, Nea: 45
phq.little_interest_or_pleasure_in_doing_things_base 321 0.98 FALSE 4 Not: 11336, Sev: 4565, Mor: 779, Nea: 446
phq.feeling_down_depressed_or_hopeless_base 329 0.98 FALSE 4 Not: 11073, Sev: 5004, Mor: 729, Nea: 312
phq.staying_asleep_sleeping_trouble_base 316 0.98 FALSE 4 Not: 8244, Sev: 5813, Mor: 1697, Nea: 1377
phq.feeling_tired_or_having_little_energy_base 320 0.98 FALSE 4 Not: 7883, Sev: 6586, Mor: 1525, Nea: 1133
phq.poor_appetite_or_overeating_base 328 0.98 FALSE 4 Not: 11592, Sev: 3487, Mor: 1244, Nea: 796
phq.feeling_bad_failure_family_base 331 0.98 FALSE 4 Not: 13128, Sev: 2801, Mor: 715, Nea: 472
phq.trouble_concentrating_reading_newspaper_base 328 0.98 FALSE 4 Not: 12198, Sev: 3678, Mor: 789, Nea: 454
phq.moving_fidgety_noticed_opposite_base 333 0.98 FALSE 4 Not: 15805, Sev: 944, Mor: 227, Nea: 138
phq.dead_hurting_thoughts_base 338 0.98 FALSE 4 Not: 16077, Sev: 801, Mor: 126, Nea: 105
ocir.felt_pandemic_feelings 16129 0.08 FALSE 5 No : 630, A l: 563, Muc: 104, A l: 19
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 16129 0.08 FALSE 5 Not: 768, A l: 316, Mod: 118, A l: 73
ocir.arranged_things_change_upset_retro 16129 0.08 FALSE 5 A l: 470, Not: 469, Mod: 193, A l: 117
ocir.repeat_feel_numbers_retro 16130 0.08 FALSE 5 Not: 1148, A l: 107, Mod: 31, A l: 20
ocir.clean_simply_wash_feel_retro 16129 0.08 FALSE 5 Not: 701, A l: 393, Mod: 137, A l: 57
ocir.mind_upset_unpleasant_thoughts_retro 16130 0.08 FALSE 5 Not: 594, A l: 427, Mod: 156, A l: 93
ocir.afraid_avoid_throwing_things_retro 16130 0.08 FALSE 5 Not: 604, A l: 411, Mod: 156, A l: 99
ocir.light_switches_water_taps_retro 16129 0.08 FALSE 5 Not: 944, A l: 223, Mod: 82, A l: 45
ocir.arranged_things_retro 16130 0.08 FALSE 5 Not: 563, A l: 427, Mod: 162, A l: 119
ocir.good_feel_bad_numbers_retro 16129 0.08 FALSE 5 Not: 1070, A l: 118, Mod: 62, A l: 44
ocir.hands_longer_wash_retro 16129 0.08 FALSE 5 Not: 818, A l: 287, Mod: 109, A l: 64
ocir.saved_things_retro 16129 0.08 FALSE 5 Not: 795, A l: 297, Mod: 141, A l: 59
ocir.frequently_difficulty_rid_nasty_retro 16129 0.08 FALSE 5 Not: 737, A l: 350, Mod: 114, A l: 79
ocir.i_check_things_more_often_than_necessary_retro 16129 0.08 FALSE 5 Not: 553, A l: 421, Mod: 205, A l: 106
ocir.arranged_properly_objects_upset_retro 16129 0.08 FALSE 5 Not: 548, A l: 411, Mod: 201, A l: 122
ocir.feel_compelled_count_things_retro 16129 0.08 FALSE 5 Not: 952, A l: 196, Mod: 75, A l: 67
ocir.strangers_touch_touched_difficult_retro 16129 0.08 FALSE 5 Not: 614, A l: 364, Mod: 152, A l: 109
ocir.control_difficult_find_thoughts_retro 16130 0.08 FALSE 5 Not: 533, A l: 413, Mod: 203, A l: 116
ocir.i_collect_things_i_dont_need_retro 16129 0.08 FALSE 5 Not: 813, A l: 294, Mod: 121, A l: 62
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 16759 0.04 FALSE 5 Not: 460, A l: 148, Mod: 37, A l: 29
ocir.arranged_things_change_upset_base 16759 0.04 FALSE 5 Not: 285, A l: 261, Mod: 70, A l: 45
ocir.repeat_feel_numbers_base 16760 0.04 FALSE 5 Not: 630, A l: 41, Mod: 10, A l: 3
ocir.clean_simply_wash_feel_base 16759 0.04 FALSE 5 Not: 498, A l: 139, Mod: 34, A l: 14
ocir.mind_upset_unpleasant_thoughts_base 16759 0.04 FALSE 5 Not: 345, A l: 240, Mod: 67, A l: 21
ocir.afraid_avoid_throwing_things_base 16759 0.04 FALSE 5 Not: 347, A l: 225, Mod: 69, A l: 32
ocir.light_switches_water_taps_base 16759 0.04 FALSE 5 Not: 496, A l: 133, Mod: 28, A l: 20
ocir.arranged_things_base 16759 0.04 FALSE 5 Not: 324, A l: 224, Mod: 75, A l: 40
ocir.good_feel_bad_numbers_base 16759 0.04 FALSE 5 Not: 581, A l: 64, Mod: 25, A l: 10
ocir.hands_longer_wash_base 16759 0.04 FALSE 5 Not: 506, A l: 118, Mod: 30, A l: 30
ocir.saved_things_base 16759 0.04 FALSE 5 Not: 457, A l: 156, Mod: 45, A l: 23
ocir.frequently_difficulty_rid_nasty_base 16759 0.04 FALSE 5 Not: 409, A l: 183, Mod: 57, A l: 25
ocir.i_check_things_more_often_than_necessary_base 16759 0.04 FALSE 5 Not: 383, A l: 214, Mod: 49, A l: 29
ocir.arranged_properly_objects_upset_base 16759 0.04 FALSE 5 Not: 324, A l: 240, Mod: 68, A l: 38
ocir.feel_compelled_count_things_base 16759 0.04 FALSE 5 Not: 562, A l: 85, Mod: 24, A l: 13
ocir.strangers_touch_touched_difficult_base 16759 0.04 FALSE 5 Not: 472, A l: 128, Mod: 45, A l: 30
ocir.control_difficult_find_thoughts_base 16759 0.04 FALSE 5 Not: 351, A l: 230, Mod: 61, A l: 33
ocir.i_collect_things_i_dont_need_base 16759 0.04 FALSE 5 Not: 434, A l: 154, Mod: 56, A l: 28
alsfrs.limb_weakness_noticed_past 1715 0.90 FALSE 2 No: 14134, Yes: 1598
alsfrs.normal 15843 0.09 FALSE 2 Nor: 1218, Not: 386
alsfrs.slow_or_sloppy_all_words_are_legible 15843 0.09 FALSE 2 Not: 1444, Slo: 160
alsfrs.not_all_words_are_legible 15843 0.09 FALSE 2 Not: 1464, Not: 140
alsfrs.able_to_grip_pen 15843 0.09 FALSE 2 Not: 1545, Abl: 59
alsfrs.unable_to_grip_pen 15843 0.09 FALSE 2 Not: 1527, Una: 77
alsfrs.have_you_noticed_any_difficulty_walking 15843 0.09 FALSE 5 Nor: 904, Ear: 519, Nee: 160, Abl: 12
alsfrs.do_you_have_any_difficulty_climbing_stairs 15843 0.09 FALSE 5 Nor: 851, Slo: 384, Mil: 207, Nee: 119
ess.felt_excessively_sleepy_past 1709 0.90 FALSE 2 No: 12130, Yes: 3608
ess.sitting_and_reading 13847 0.21 FALSE 4 Sli: 1545, Mod: 932, Wou: 684, Hig: 439
ess.watching_tv 13851 0.21 FALSE 4 Sli: 1525, Mod: 1037, Wou: 521, Hig: 513
ess.sitting_inactive_in_a_public_place 13852 0.21 FALSE 4 Wou: 2264, Sli: 964, Mod: 294, Hig: 73
ess.break_passenger_car_hour 13849 0.21 FALSE 4 Sli: 1320, Wou: 1305, Mod: 590, Hig: 383
ess.afternoon_rest_circumstances_lying 13848 0.21 FALSE 4 Hig: 1253, Mod: 1006, Sli: 956, Wou: 384
ess.sitting_and_talking_to_someone 13845 0.21 FALSE 4 Wou: 3203, Sli: 321, Mod: 61, Hig: 17
ess.sitting_quietly_after_a_lunch_without_alcohol 13846 0.21 FALSE 4 Wou: 1523, Sli: 1398, Mod: 471, Hig: 209
ess.car_minutes_stopped_traffic 13850 0.21 FALSE 4 Wou: 3259, Sli: 261, Mod: 58, Hig: 19
ess.insomnia 1734 0.90 FALSE 2 Not: 15423, Ins: 290
ess.narcolepsy 1734 0.90 FALSE 2 Not: 15704, Nar: 9
ess.rem_sleep_behaviour_disorder 1734 0.90 FALSE 2 Not: 15690, REM: 23
ess.restless_legs_syndrome 1734 0.90 FALSE 2 Not: 15292, Res: 421
ess.sleep_apnea 1734 0.90 FALSE 2 Not: 15428, Sle: 285
ess.sleep_terrors 1734 0.90 FALSE 2 Not: 15646, Sle: 67
ess.sleepwalking 1734 0.90 FALSE 2 Not: 15667, Sle: 46
ess.other 1734 0.90 FALSE 2 Not: 15548, Oth: 165
ess.none 1734 0.90 FALSE 2 Non: 14578, Not: 1135
midas.headaches_suffered_past_month 1713 0.90 FALSE 2 No: 11053, Yes: 4681
midas.days_past_month_miss_work_school 17447 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 17447 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 17447 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 17447 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 17447 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 1715 0.90 FALSE 2 No: 15193, Yes: 539
nmss.severe_taste_smell_loss 16910 0.03 FALSE 6 Mil: 145, Mod: 108, Min: 100, Sev: 72
nmsw.drink_problems_choking_difficulty 1728 0.90 FALSE 2 No: 15104, Yes: 615
nmsw.regularly_night_pass_urine 1723 0.90 FALSE 2 No: 10360, Yes: 5364
nmsw.sex_difficult_finding 1952 0.89 FALSE 2 No: 14189, Yes: 1306
nmsw.weak_standing_feeling_light 1731 0.90 FALSE 2 No: 12782, Yes: 2934
nmsw.acting_moving_sleep_talking 1749 0.90 FALSE 2 No: 14548, Yes: 1150
nmsw.double_vision 1738 0.90 FALSE 2 No: 15295, Yes: 414
tinnitus.ears_noises_minutes_head 1716 0.90 FALSE 2 No: 13156, Yes: 2575
tinnitus.ears_noises_minutes_head_frequency 14872 0.15 FALSE 5 Now: 1090, Som: 912, Now: 424, Not: 130
tinnitus.noises_worry_worst_upset 14874 0.15 FALSE 4 Sli: 1318, Not: 663, Mod: 514, Sev: 78

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 27365.67 18420.76 1 11919.5 24113 42683 64460 ▇▇▅▅▅
Birthyear_unc_numeric 0 1.00 65.38 14.28 9 54.0 63 75 104 ▁▁▇▅▂
Birthmonth_numeric 0 1.00 6.44 3.43 1 3.0 6 9 12 ▇▆▆▅▇
Birthday_numeric 0 1.00 15.73 8.81 1 8.0 16 23 31 ▇▇▇▇▆
Gender_numeric 23 1.00 0.58 0.50 0 0.0 1 1 3 ▆▇▁▁▁
Sex_numeric 0 1.00 0.57 0.49 0 0.0 1 1 1 ▆▁▁▁▇
Birthyear_numeric 0 1.00 1965.38 14.28 1909 1954.0 1963 1975 2004 ▁▁▇▅▂
Age_uncleaned 7 1.00 54.51 14.27 16 45.0 57 66 111 ▂▅▇▁▁
Ethnicity_numeric 3378 0.81 1.05 0.31 1 1.0 1 1 4 ▇▁▁▁▁
Age 7 1.00 54.51 14.27 16 45.0 57 66 111 ▂▅▇▁▁
age_category_numeric 7 1.00 5.52 1.65 1 4.0 6 7 13 ▂▅▇▁▁
employment.phd_numeric 13 1.00 0.04 0.19 0 0.0 0 0 1 ▇▁▁▁▁
employment.masters_degree_or_equivalent_numeric 13 1.00 0.14 0.35 0 0.0 0 0 1 ▇▁▁▁▂
employment.postgraduate_degree_or_equivalent_numeric 13 1.00 0.11 0.32 0 0.0 0 0 1 ▇▁▁▁▁
employment.bachelors_degree_or_equivalent_numeric 13 1.00 0.42 0.49 0 0.0 0 1 1 ▇▁▁▁▆
employment.a_levelsas_levels_or_equivalent_numeric 13 1.00 0.52 0.50 0 0.0 1 1 1 ▇▁▁▁▇
employment.o_levelsgcses_or_equivalent_numeric 13 1.00 0.68 0.47 0 0.0 1 1 1 ▃▁▁▁▇
employment.cses_or_equivalent_numeric 13 1.00 0.18 0.39 0 0.0 0 0 1 ▇▁▁▁▂
employment.nvq_or_hnd_or_hnc_or_equivalent_numeric 13 1.00 0.24 0.43 0 0.0 0 0 1 ▇▁▁▁▂
employment.government_work_key_workers_numeric 6946 0.60 2.69 3.68 0 0.0 1 5 11 ▇▁▁▁▂
employment.unemployed_numeric 32 1.00 0.02 0.15 0 0.0 0 0 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 32 1.00 0.02 0.13 0 0.0 0 0 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 32 1.00 0.02 0.15 0 0.0 0 0 1 ▇▁▁▁▁
employment.retired_numeric 32 1.00 0.36 0.48 0 0.0 0 1 1 ▇▁▁▁▅
employment.student_gcse_or_a_level_numeric 32 1.00 0.00 0.04 0 0.0 0 0 1 ▇▁▁▁▁
employment.student_university_numeric 32 1.00 0.02 0.14 0 0.0 0 0 1 ▇▁▁▁▁
employment.became_unemployed_numeric 5905 0.66 0.03 0.17 0 0.0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 5905 0.66 0.10 0.30 0 0.0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 5905 0.66 0.02 0.13 0 0.0 0 0 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 5905 0.66 0.04 0.20 0 0.0 0 0 1 ▇▁▁▁▁
highest_education_numeric 1057 0.94 3.11 1.13 1 2.0 4 4 4 ▂▂▁▃▇
key_worker_numeric 57 1.00 0.34 0.48 0 0.0 0 1 1 ▇▁▁▁▅
anxiety_disorders_numeric 141 0.99 0.16 0.37 0 0.0 0 0 1 ▇▁▁▁▂
mhd.specific_phobia_e.g._phobia_of_flying_numeric 141 0.99 0.01 0.08 0 0.0 0 0 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 141 0.99 0.02 0.14 0 0.0 0 0 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 141 0.99 0.06 0.23 0 0.0 0 0 1 ▇▁▁▁▁
depressive_disorders_numeric 141 0.99 0.23 0.42 0 0.0 0 0 1 ▇▁▁▁▂
eating_disorders_numeric 108 0.99 0.02 0.12 0 0.0 0 0 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 141 0.99 0.01 0.12 0 0.0 0 0 1 ▇▁▁▁▁
psychotic_disorders_numeric 193 0.99 0.00 0.06 0 0.0 0 0 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 141 0.99 0.01 0.08 0 0.0 0 0 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 141 0.99 0.02 0.14 0 0.0 0 0 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 193 0.99 0.00 0.06 0 0.0 0 0 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 193 0.99 0.00 0.06 0 0.0 0 0 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 193 0.99 0.01 0.08 0 0.0 0 0 1 ▇▁▁▁▁
personality_cluster_a_numeric 206 0.99 0.00 0.02 0 0.0 0 0 1 ▇▁▁▁▁
personality_cluster_b_numeric 206 0.99 0.00 0.07 0 0.0 0 0 1 ▇▁▁▁▁
personality_cluster_c_numeric 206 0.99 0.00 0.02 0 0.0 0 0 1 ▇▁▁▁▁
depression_and_anxiety_numeric 141 0.99 0.54 0.93 0 0.0 0 1 3 ▇▁▁▂▁
restricting_vs_binge_eating_eating_disorders_numeric 108 0.99 0.02 0.19 0 0.0 0 0 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 231 0.99 0.02 0.25 0 0.0 0 0 3 ▇▁▁▁▁
control_numeric 158 0.99 0.67 0.47 0 0.0 1 1 1 ▃▁▁▁▇
disorders_total_count 244 0.99 0.46 0.83 0 0.0 0 1 7 ▇▁▁▁▁
comorbidity_total_count_numeric 12255 0.30 0.52 0.80 0 0.0 0 1 6 ▇▁▁▁▁
comorbidity_total_count_factor_numeric 12255 0.30 0.51 0.74 0 0.0 0 1 3 ▇▃▁▁▁
gad.problems_made_difficult_care_numeric 7647 0.56 1.47 0.62 1 1.0 1 2 4 ▇▅▁▁▁
gad.pandemic_felt_feelings_numeric 784 0.96 2.58 0.72 1 2.0 3 3 5 ▁▅▇▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 10446 0.40 0.53 0.67 0 0.0 0 1 3 ▇▆▁▁▁
gad.control_worrying_stop_retro_numeric 10444 0.40 0.40 0.65 0 0.0 0 1 3 ▇▃▁▁▁
gad.worrying_too_much_about_different_things_retro_numeric 10442 0.40 0.55 0.68 0 0.0 0 1 3 ▇▆▁▁▁
gad.trouble_relaxing_retro_numeric 10439 0.40 0.44 0.68 0 0.0 0 1 3 ▇▃▁▁▁
gad.sit_restless_hard_retro_numeric 10442 0.40 0.20 0.50 0 0.0 0 0 3 ▇▁▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 10439 0.40 0.49 0.64 0 0.0 0 1 3 ▇▅▁▁▁
gad.awful_feeling_afraid_happen_retro_numeric 10439 0.40 0.30 0.60 0 0.0 0 0 3 ▇▂▁▁▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 765 0.96 0.50 0.75 0 0.0 0 1 3 ▇▃▁▁▁
gad.control_worrying_stop_base_numeric 769 0.96 0.34 0.68 0 0.0 0 0 3 ▇▂▁▁▁
gad.worrying_too_much_about_different_things_base_numeric 768 0.96 0.43 0.72 0 0.0 0 1 3 ▇▃▁▁▁
gad.trouble_relaxing_base_numeric 764 0.96 0.46 0.75 0 0.0 0 1 3 ▇▃▁▁▁
gad.sit_restless_hard_base_numeric 765 0.96 0.22 0.56 0 0.0 0 0 3 ▇▁▁▁▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 771 0.96 0.45 0.69 0 0.0 0 1 3 ▇▃▁▁▁
gad.awful_feeling_afraid_happen_base_numeric 765 0.96 0.34 0.67 0 0.0 0 0 3 ▇▂▁▁▁
gad.sum_score_retro_raw 0 1.00 1.17 2.57 0 0.0 0 1 21 ▇▁▁▁▁
gad.sum_score_base_raw 0 1.00 2.62 3.88 0 0.0 1 4 21 ▇▂▁▁▁
na_per_person_gad_base 0 1.00 0.31 1.43 0 0.0 0 0 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 4.19 3.43 0 0.0 7 7 7 ▆▁▁▁▇
gad.sum_score_base 781 0.96 2.74 3.92 0 0.0 1 4 21 ▇▂▁▁▁
gad.sum_score_retro 10456 0.40 2.90 3.38 0 0.0 2 4 21 ▇▂▁▁▁
pcl.stressful_experience_repeated_images_base_numeric 1194 0.93 1.37 0.75 1 1.0 1 1 5 ▇▂▁▁▁
pcl.stressful_experience_upset_reminded_base_numeric 1204 0.93 1.45 0.81 1 1.0 1 2 5 ▇▂▁▁▁
pcl.stressful_situation_avoiding_activities_base_numeric 1212 0.93 1.22 0.63 1 1.0 1 1 5 ▇▁▁▁▁
pcl.cut_people_feeling_distant_base_numeric 1209 0.93 1.71 1.03 1 1.0 1 2 5 ▇▃▁▁▁
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 1222 0.93 1.44 0.74 1 1.0 1 2 5 ▇▃▁▁▁
pcl.difficulty_concentrating_base_numeric 1230 0.93 1.54 0.86 1 1.0 1 2 5 ▇▃▁▁▁
pcl.stressful_experience_repeated_images_retro_numeric 13444 0.23 0.13 0.34 0 0.0 0 0 1 ▇▁▁▁▁
pcl.stressful_experience_upset_reminded_retro_numeric 12358 0.29 0.17 0.38 0 0.0 0 0 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 15223 0.13 0.16 0.37 0 0.0 0 0 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 10619 0.39 0.69 0.46 0 0.0 1 1 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 12145 0.30 0.49 0.50 0 0.0 0 1 1 ▇▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 11441 0.34 0.49 0.50 0 0.0 0 1 1 ▇▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 0.69 1.15 0 0.0 0 1 6 ▇▁▁▁▁
pcl.sum_score_base_raw 0 1.00 8.12 4.16 0 6.0 7 10 30 ▆▇▂▁▁
na_per_person_pcl_base 0 1.00 0.42 1.51 0 0.0 0 0 6 ▇▁▁▁▁
na_per_person_pcl_retro 0 1.00 4.31 1.86 0 3.0 5 6 6 ▂▁▂▂▇
pcl.sum_score_base 1314 0.92 8.72 3.66 6 6.0 7 10 30 ▇▂▁▁▁
pcl.sum_score_retro 16538 0.05 2.10 2.02 0 0.0 2 3 6 ▇▂▃▁▃
phq.problems_made_difficult_care_numeric 4792 0.73 1.43 0.61 1 1.0 1 2 4 ▇▅▁▁▁
phq.pandemic_felt_feelings_numeric 388 0.98 2.54 0.73 1 2.0 3 3 5 ▁▅▇▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 9564 0.45 0.37 0.62 0 0.0 0 1 3 ▇▃▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 9565 0.45 0.47 0.64 0 0.0 0 1 3 ▇▅▁▁▁
phq.staying_asleep_sleeping_trouble_retro_numeric 9566 0.45 0.70 0.80 0 0.0 1 1 3 ▇▇▁▂▁
phq.feeling_tired_or_having_little_energy_retro_numeric 9565 0.45 0.74 0.79 0 0.0 1 1 3 ▇▇▁▂▁
phq.poor_appetite_or_overeating_retro_numeric 9561 0.45 0.41 0.70 0 0.0 0 1 3 ▇▃▁▁▁
phq.feeling_bad_failure_family_retro_numeric 9562 0.45 0.38 0.67 0 0.0 0 1 3 ▇▃▁▁▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 9563 0.45 0.31 0.61 0 0.0 0 1 3 ▇▂▁▁▁
phq.moving_fidgety_noticed_opposite_retro_numeric 9564 0.45 0.10 0.39 0 0.0 0 0 3 ▇▁▁▁▁
phq.dead_hurting_thoughts_retro_numeric 9566 0.45 0.11 0.39 0 0.0 0 0 3 ▇▁▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 321 0.98 0.44 0.70 0 0.0 0 1 3 ▇▃▁▁▁
phq.feeling_down_depressed_or_hopeless_base_numeric 329 0.98 0.43 0.66 0 0.0 0 1 3 ▇▃▁▁▁
phq.staying_asleep_sleeping_trouble_base_numeric 316 0.98 0.78 0.92 0 0.0 1 1 3 ▇▆▁▂▂
phq.feeling_tired_or_having_little_energy_base_numeric 320 0.98 0.76 0.87 0 0.0 1 1 3 ▇▇▁▂▁
phq.poor_appetite_or_overeating_base_numeric 328 0.98 0.49 0.82 0 0.0 0 1 3 ▇▂▁▁▁
phq.feeling_bad_failure_family_base_numeric 331 0.98 0.33 0.69 0 0.0 0 0 3 ▇▂▁▁▁
phq.trouble_concentrating_reading_newspaper_base_numeric 328 0.98 0.39 0.70 0 0.0 0 1 3 ▇▂▁▁▁
phq.moving_fidgety_noticed_opposite_base_numeric 333 0.98 0.11 0.41 0 0.0 0 0 3 ▇▁▁▁▁
phq.dead_hurting_thoughts_base_numeric 338 0.98 0.08 0.35 0 0.0 0 0 3 ▇▁▁▁▁
phq.sum_score_retro_raw 0 1.00 1.63 3.22 0 0.0 0 2 27 ▇▁▁▁▁
phq.sum_score_base_raw 0 1.00 3.73 4.47 0 0.0 2 5 27 ▇▂▁▁▁
na_per_person_phq_retro 0 1.00 4.93 4.48 0 0.0 9 9 9 ▆▁▁▁▇
phq.missing_only_suicide_item_retro 0 1.00 0.00 0.01 0 0.0 0 0 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 0.17 1.20 0 0.0 0 0 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.00 0.02 0 0.0 0 0 1 ▇▁▁▁▁
phq.sum_score_base 369 0.98 3.79 4.49 0 0.0 2 5 27 ▇▂▁▁▁
phq.sum_score_8items_base 0 1.00 3.73 4.47 0 0.0 2 5 27 ▇▂▁▁▁
phq.sum_score_retro 9588 0.45 3.60 3.97 0 1.0 2 5 27 ▇▂▁▁▁
phq.sum_score_8items_retro 0 1.00 1.63 3.22 0 0.0 0 2 27 ▇▁▁▁▁
ocir.felt_pandemic_feelings_numeric 16129 0.08 2.43 0.66 1 2.0 2 3 5 ▁▇▇▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 16129 0.08 0.72 1.05 0 0.0 0 1 4 ▇▃▁▁▁
ocir.arranged_things_change_upset_retro_numeric 16129 0.08 1.13 1.15 0 0.0 1 2 4 ▇▇▃▂▁
ocir.repeat_feel_numbers_retro_numeric 16130 0.08 0.21 0.63 0 0.0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 16129 0.08 0.73 0.97 0 0.0 0 1 4 ▇▅▂▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 16130 0.08 0.92 1.08 0 0.0 1 1 4 ▇▆▂▁▁
ocir.afraid_avoid_throwing_things_retro_numeric 16130 0.08 0.92 1.09 0 0.0 1 1 4 ▇▆▂▁▁
ocir.light_switches_water_taps_retro_numeric 16129 0.08 0.47 0.89 0 0.0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 16130 0.08 0.98 1.11 0 0.0 1 1 4 ▇▆▂▂▁
ocir.good_feel_bad_numbers_retro_numeric 16129 0.08 0.36 0.86 0 0.0 0 0 4 ▇▁▁▁▁
ocir.hands_longer_wash_retro_numeric 16129 0.08 0.65 1.02 0 0.0 0 1 4 ▇▃▁▁▁
ocir.saved_things_retro_numeric 16129 0.08 0.65 0.97 0 0.0 0 1 4 ▇▃▂▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 16129 0.08 0.73 1.04 0 0.0 0 1 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 16129 0.08 0.97 1.06 0 0.0 1 2 4 ▇▆▃▂▁
ocir.arranged_properly_objects_upset_retro_numeric 16129 0.08 1.00 1.09 0 0.0 1 2 4 ▇▆▃▂▁
ocir.feel_compelled_count_things_retro_numeric 16129 0.08 0.50 0.96 0 0.0 0 1 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 16129 0.08 0.99 1.21 0 0.0 1 2 4 ▇▅▂▂▁
ocir.control_difficult_find_thoughts_retro_numeric 16130 0.08 1.04 1.12 0 0.0 1 2 4 ▇▆▃▂▁
ocir.i_collect_things_i_dont_need_retro_numeric 16129 0.08 0.63 0.98 0 0.0 0 1 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 16759 0.04 0.53 0.92 0 0.0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 16759 0.04 0.94 1.06 0 0.0 1 1 4 ▇▇▂▁▁
ocir.repeat_feel_numbers_base_numeric 16760 0.04 0.12 0.46 0 0.0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 16759 0.04 0.38 0.71 0 0.0 0 1 4 ▇▂▁▁▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 16759 0.04 0.72 0.92 0 0.0 0 1 4 ▇▆▂▁▁
ocir.afraid_avoid_throwing_things_base_numeric 16759 0.04 0.75 0.96 0 0.0 0 1 4 ▇▅▂▁▁
ocir.light_switches_water_taps_base_numeric 16759 0.04 0.43 0.83 0 0.0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 16759 0.04 0.86 1.06 0 0.0 1 1 4 ▇▆▂▁▁
ocir.good_feel_bad_numbers_base_numeric 16759 0.04 0.26 0.70 0 0.0 0 0 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 16759 0.04 0.41 0.81 0 0.0 0 1 4 ▇▂▁▁▁
ocir.saved_things_base_numeric 16759 0.04 0.50 0.84 0 0.0 0 1 4 ▇▃▁▁▁
ocir.frequently_difficulty_rid_nasty_base_numeric 16759 0.04 0.62 0.93 0 0.0 0 1 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_base_numeric 16759 0.04 0.66 0.92 0 0.0 0 1 4 ▇▅▁▁▁
ocir.arranged_properly_objects_upset_base_numeric 16759 0.04 0.82 1.00 0 0.0 1 1 4 ▇▆▂▁▁
ocir.feel_compelled_count_things_base_numeric 16759 0.04 0.27 0.67 0 0.0 0 0 4 ▇▁▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 16759 0.04 0.52 0.93 0 0.0 0 1 4 ▇▂▁▁▁
ocir.control_difficult_find_thoughts_base_numeric 16759 0.04 0.73 0.94 0 0.0 0 1 4 ▇▅▂▁▁
ocir.i_collect_things_i_dont_need_base_numeric 16759 0.04 0.60 0.96 0 0.0 0 1 4 ▇▃▁▁▁
ocir.sum_score_retro_raw 4368 0.75 1.37 5.29 0 0.0 0 0 70 ▇▁▁▁▁
ocir.sum_score_base_raw 4368 0.75 0.53 3.17 0 0.0 0 0 70 ▇▁▁▁▁
na_per_person_ocir_retro 4368 0.75 16.19 5.42 0 18.0 18 18 18 ▁▁▁▁▇
na_per_person_ocir_base 4368 0.75 17.05 4.02 0 18.0 18 18 18 ▁▁▁▁▇
ocir.sum_score_base 16760 0.04 10.11 9.67 0 3.0 8 14 70 ▇▂▁▁▁
ocir.sum_score_retro 16134 0.08 13.57 10.59 0 6.0 11 19 70 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 1715 0.90 0.10 0.30 0 0.0 0 0 1 ▇▁▁▁▁
alsfrs.normal_numeric 15843 0.09 0.76 0.43 0 1.0 1 1 1 ▂▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 15843 0.09 0.10 0.30 0 0.0 0 0 1 ▇▁▁▁▁
alsfrs.not_all_words_are_legible_numeric 15843 0.09 0.09 0.28 0 0.0 0 0 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 15843 0.09 0.04 0.19 0 0.0 0 0 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 15843 0.09 0.05 0.21 0 0.0 0 0 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 15843 0.09 0.57 0.75 0 0.0 0 1 4 ▇▅▂▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 15843 0.09 0.83 1.08 0 0.0 0 1 4 ▇▃▂▁▁
ess.felt_excessively_sleepy_past_numeric 1709 0.90 0.23 0.42 0 0.0 0 0 1 ▇▁▁▁▂
ess.sitting_and_reading_numeric 13847 0.21 1.31 0.92 0 1.0 1 2 3 ▃▇▁▅▂
ess.watching_tv_numeric 13851 0.21 1.43 0.91 0 1.0 1 2 3 ▃▇▁▆▃
ess.sitting_inactive_in_a_public_place_numeric 13852 0.21 0.49 0.73 0 0.0 0 1 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 13849 0.21 1.01 0.98 0 0.0 1 2 3 ▇▇▁▃▂
ess.afternoon_rest_circumstances_lying_numeric 13848 0.21 1.87 1.01 0 1.0 2 3 3 ▂▆▁▆▇
ess.sitting_and_talking_to_someone_numeric 13845 0.21 0.14 0.42 0 0.0 0 0 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 13846 0.21 0.82 0.87 0 0.0 1 1 3 ▇▇▁▂▁
ess.car_minutes_stopped_traffic_numeric 13850 0.21 0.12 0.41 0 0.0 0 0 3 ▇▁▁▁▁
ess.insomnia_numeric 1734 0.90 0.02 0.13 0 0.0 0 0 1 ▇▁▁▁▁
ess.narcolepsy_numeric 1734 0.90 0.00 0.02 0 0.0 0 0 1 ▇▁▁▁▁
ess.rem_sleep_behaviour_disorder_numeric 1734 0.90 0.00 0.04 0 0.0 0 0 1 ▇▁▁▁▁
ess.restless_legs_syndrome_numeric 1734 0.90 0.03 0.16 0 0.0 0 0 1 ▇▁▁▁▁
ess.sleep_apnea_numeric 1734 0.90 0.02 0.13 0 0.0 0 0 1 ▇▁▁▁▁
ess.sleep_terrors_numeric 1734 0.90 0.00 0.07 0 0.0 0 0 1 ▇▁▁▁▁
ess.sleepwalking_numeric 1734 0.90 0.00 0.05 0 0.0 0 0 1 ▇▁▁▁▁
ess.other_numeric 1734 0.90 0.01 0.10 0 0.0 0 0 1 ▇▁▁▁▁
ess.none_numeric 1734 0.90 0.93 0.26 0 1.0 1 1 1 ▁▁▁▁▇
midas.headaches_suffered_past_month_numeric 1713 0.90 0.30 0.46 0 0.0 0 1 1 ▇▁▁▁▃
midas.days_past_month_miss_work_school_numeric 13284 0.24 1.10 3.49 0 0.0 0 0 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 13459 0.23 1.33 3.59 0 0.0 0 1 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 13273 0.24 2.44 4.73 0 0.0 0 3 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 13328 0.24 2.62 5.07 0 0.0 0 3 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 13556 0.22 1.18 3.72 0 0.0 0 0 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 1715 0.90 0.03 0.18 0 0.0 0 0 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 16910 0.03 2.28 1.45 0 1.0 2 3 5 ▇▇▅▃▂
nmsw.drink_problems_choking_difficulty_numeric 1728 0.90 0.04 0.19 0 0.0 0 0 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 1723 0.90 0.34 0.47 0 0.0 0 1 1 ▇▁▁▁▅
nmsw.sex_difficult_finding_numeric 1952 0.89 0.08 0.28 0 0.0 0 0 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 1731 0.90 0.19 0.39 0 0.0 0 0 1 ▇▁▁▁▂
nmsw.acting_moving_sleep_talking_numeric 1749 0.90 0.07 0.26 0 0.0 0 0 1 ▇▁▁▁▁
nmsw.double_vision_numeric 1738 0.90 0.03 0.16 0 0.0 0 0 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 1716 0.90 0.16 0.37 0 0.0 0 0 1 ▇▁▁▁▂
tinnitus.ears_noises_minutes_head_frequency_numeric 14872 0.15 2.95 1.02 0 2.0 3 4 4 ▁▁▇▃▇
tinnitus.noises_worry_worst_upset_numeric 14874 0.15 1.00 0.76 0 0.0 1 1 3 ▅▇▁▃▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-05-01 18:29:32 2020-09-23 18:42:10 2020-05-12 06:02:28 17119

Check duplicates again to be saved +++KLP: RAMP: More than one column: Age, Sex, Login ID; if they match on all 3 then we treat them as a duplicate; otherwise we are going to rename the Login ID +++KT: No duplicates identified by ID in GLAD. +++MD: Duplicates have been removed in cleaning script for NBR. No duplicates at this stage.

FALSE 
17447 

#Exclusion Exclude those without sex, gender, age and incomplete PHQ/GAD items Create a new new object for each exclusion step, e.g., data.no_sex, data.no_gender and data.no_sex.no_age

[1] "N = 0 were excluded because they did not report their sex"
[1] 17447   401
[1] 17424   401
[1] 23

23 were excluded because they did not report their sex

[1] 17424   401
[1] 17417   401
[1] 7

dim(dat.no.sex.no.gender)[1]-dim(dat.no.sex.no.gender.no.age)[1] were excluded because they did not report their age

Exclusion of inflammatory bowel disease (IBD) and GLAD BioResource (NBR) cohort ++MD: 3,410 participants from NBR IBD cohort excluded ++KT: 3 duplicated GLAD participants are excluded

[1] 3428

##Create tidy data on which the exclusion criteria have been applied Complete sex, gender, age and missingness information applied.

Data summary
Name dat
Number of rows 13989
Number of columns 401
_______________________
Column type frequency:
character 5
Date 1
factor 182
logical 1
numeric 211
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1.00 6 6 0 1 0
Cohort 0 1.00 5 8 0 5 0
Ethnicity.unc 2981 0.79 1 1 0 18 0
Cohort_numeric 0 1.00 5 8 0 5 0
Ethnicity.unc_numeric 2981 0.79 1 1 0 18 0

Variable type: Date

skim_variable n_missing complete_rate min max median n_unique
Birthdate 0 1 1909-09-12 2004-05-08 1962-06-22 9641

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
Birthyear_unc 0 1.00 FALSE 80 Pro: 466, Pro: 454, Pro: 448, Pro: 444
Birthmonth 0 1.00 FALSE 12 Pro: 1279, Pro: 1231, Pro: 1193, Pro: 1179
Birthday 0 1.00 FALSE 31 Pro: 509, Pro: 503, Pro: 489, Pro: 488
Gender_unc 0 1.00 FALSE 4 Fem: 7947, Mal: 6001, Non: 28, Pre: 13
Sex 0 1.00 FALSE 2 Fem: 7974, Mal: 6015
Ethnicity_full 3114 0.78 FALSE 17 Whi: 9930, Whi: 460, Whi: 148, Asi: 69
Ethnicity_unc 3114 0.78 FALSE 4 Whi: 10551, Asi: 146, Mix: 126, Bla: 52
Gender 0 1.00 FALSE 4 Fem: 7947, Mal: 6001, Non: 28, Pre: 13
Ethnicity 3114 0.78 FALSE 4 Whi: 10551, Asi: 146, Mix: 126, Bla: 52
age_category 0 1.00 FALSE 13 56-: 4115, 46-: 2855, 66-: 2031, 36-: 1571
employment.phd 7 1.00 FALSE 2 Not: 13389, PhD: 593
employment.masters_degree_or_equivalent 7 1.00 FALSE 2 Not: 11800, Mas: 2182
employment.postgraduate_degree_or_equivalent 7 1.00 FALSE 2 Not: 12355, Pos: 1627
employment.bachelors_degree_or_equivalent 7 1.00 FALSE 2 Not: 7853, Bac: 6129
employment.a_levelsas_levels_or_equivalent 7 1.00 FALSE 2 A l: 7496, Not: 6486
employment.o_levelsgcses_or_equivalent 7 1.00 FALSE 2 O l: 9575, Not: 4407
employment.cses_or_equivalent 7 1.00 FALSE 2 Not: 11417, CSE: 2565
employment.nvq_or_hnd_or_hnc_or_equivalent 7 1.00 FALSE 2 Not: 10843, NVQ: 3139
employment.government_work_key_workers 5661 0.60 FALSE 11 Non: 3568, Hea: 1477, Edu: 825, Oth: 731
employment.unemployed 22 1.00 FALSE 2 Not: 13698, Une: 269
employment.zerohours_contract 22 1.00 FALSE 2 Not: 13725, Zer: 242
employment.stayathome_parent_or_carer 22 1.00 FALSE 2 Not: 13667, Sta: 300
employment.retired 22 1.00 FALSE 2 Not: 8706, Ret: 5261
employment.student_gcse_or_a_level 22 1.00 FALSE 2 Not: 13949, Stu: 18
employment.student_university 22 1.00 FALSE 2 Not: 13700, Stu: 267
employment.became_unemployed 4974 0.64 FALSE 2 Not: 8757, Bec: 258
employment.furloughed_or_paid_leave_government_funded 4974 0.64 FALSE 2 Not: 8218, Fur: 797
employment.furloughed_or_paid_leave_company_funded 4974 0.64 FALSE 2 Not: 8896, Fur: 119
employment.paid_leave_furloughed 4974 0.64 FALSE 2 Not: 8662, Fur: 353
highest_education 757 0.95 FALSE 4 Uni: 7417, A-l: 2491, GCS: 2009, NVQ: 1315
key_worker 32 1.00 FALSE 2 No : 9197, Key: 4760
anxiety_disorders 77 0.99 FALSE 2 No : 11942, Anx: 1970
mhd.specific_phobia_e.g._phobia_of_flying 77 0.99 FALSE 2 Not: 13831, Spe: 81
mhd.social_anxiety_or_social_phobia 77 0.99 FALSE 2 Not: 13680, Soc: 232
agoraphobia_panic_disorder 77 0.99 FALSE 2 No : 13250, Ago: 662
depressive_disorders 77 0.99 FALSE 2 No : 10893, Dep: 3019
eating_disorders 63 1.00 FALSE 2 No : 13705, Eat: 221
obsessive_compulsive_disorders 77 0.99 FALSE 2 No : 13747, Obs: 165
psychotic_disorders 112 0.99 FALSE 2 No : 13836, Psy: 41
mhd.mania_hypomania_bipolar_or_manicdepression 77 0.99 FALSE 2 Not: 13827, Man: 85
mhd.posttraumatic_stress_disorder_ptsd 77 0.99 FALSE 2 Not: 13658, Pos: 254
autism_spectrum_disorder 112 0.99 FALSE 2 No : 13826, Aut: 51
mhd.attention_deficit_hyperactivity_disorder 112 0.99 FALSE 2 Not: 13840, Att: 37
mhd.personality_disorder 112 0.99 FALSE 2 Not: 13794, Per: 83
personality_cluster_a 122 0.99 FALSE 2 No : 13863, Per: 4
personality_cluster_b 122 0.99 FALSE 2 No : 13804, Per: 63
personality_cluster_c 122 0.99 FALSE 2 No : 13861, Per: 6
depression_and_anxiety 77 0.99 FALSE 4 No : 10169, Onl: 1773, Dep: 1246, Onl: 724
restricting_vs_binge_eating_eating_disorders 63 1.00 FALSE 3 No : 13705, Ano: 117, Eat: 104
bipolar_and_schizophrenia 136 0.99 FALSE 4 No : 13737, Onl: 75, Onl: 32, Psy: 9
control 92 0.99 FALSE 2 Con: 9704, No : 4193
comorbidity_total_count_factor 10102 0.28 FALSE 4 No : 2426, 1 c: 1104, 2 c: 256, 3+ : 101
mhd.none_of_the_above 77 0.99 FALSE 2 Non: 9875, Not: 4037
mhd.none_of_the_above.1 112 0.99 FALSE 2 Non: 13532, Not: 345
gad.problems_made_difficult_care 6380 0.54 FALSE 4 Not: 4606, Som: 2717, Ver: 201, Ext: 85
gad.pandemic_felt_feelings 492 0.96 FALSE 5 No : 8101, A l: 4002, Muc: 927, A l: 344
gad.feeling_nervous_anxious_or_on_edge_retro 8624 0.38 FALSE 4 Not: 3042, Sev: 2039, Mor: 210, Nea: 74
gad.control_worrying_stop_retro 8622 0.38 FALSE 4 Not: 3743, Sev: 1378, Mor: 180, Nea: 66
gad.worrying_too_much_about_different_things_retro 8619 0.38 FALSE 4 Not: 3000, Sev: 2069, Mor: 213, Nea: 88
gad.trouble_relaxing_retro 8617 0.38 FALSE 4 Not: 3523, Sev: 1552, Mor: 200, Nea: 97
gad.sit_restless_hard_retro 8619 0.38 FALSE 4 Not: 4578, Sev: 660, Mor: 96, Nea: 36
gad.becoming_easily_annoyed_or_irritable_retro 8616 0.38 FALSE 4 Not: 3189, Sev: 1972, Mor: 154, Nea: 58
gad.awful_feeling_afraid_happen_retro 8617 0.38 FALSE 4 Not: 4222, Sev: 956, Mor: 130, Nea: 64
gad.feeling_nervous_anxious_or_on_edge_base 478 0.97 FALSE 4 Not: 8729, Sev: 3816, Mor: 597, Nea: 369
gad.control_worrying_stop_base 481 0.97 FALSE 4 Not: 10599, Sev: 2153, Mor: 458, Nea: 298
gad.worrying_too_much_about_different_things_base 480 0.97 FALSE 4 Not: 9505, Sev: 3122, Mor: 544, Nea: 338
gad.trouble_relaxing_base 477 0.97 FALSE 4 Not: 9310, Sev: 3194, Mor: 598, Nea: 410
gad.sit_restless_hard_base 476 0.97 FALSE 4 Not: 11508, Sev: 1548, Mor: 299, Nea: 158
gad.becoming_easily_annoyed_or_irritable_base 480 0.97 FALSE 4 Not: 8988, Sev: 3749, Mor: 515, Nea: 257
gad.awful_feeling_afraid_happen_base 477 0.97 FALSE 4 Not: 10483, Sev: 2354, Mor: 419, Nea: 256
pcl.stressful_experience_repeated_images_base 757 0.95 FALSE 5 Not: 10216, A l: 2138, Mod: 483, Qui: 314
pcl.stressful_experience_upset_reminded_base 763 0.95 FALSE 5 Not: 9352, A l: 2840, Mod: 580, Qui: 344
pcl.stressful_situation_avoiding_activities_base 768 0.95 FALSE 5 Not: 11580, A l: 1052, Mod: 330, Qui: 186
pcl.cut_people_feeling_distant_base 766 0.95 FALSE 5 Not: 7902, A l: 3203, Mod: 1037, Qui: 806
pcl.feeling_irritable_or_having_angry_outbursts_base 780 0.94 FALSE 5 Not: 9083, A l: 3227, Mod: 568, Qui: 272
pcl.difficulty_concentrating_base 779 0.94 FALSE 5 Not: 8599, A l: 3353, Mod: 707, Qui: 415
pcl.stressful_experience_repeated_images_retro 10979 0.22 FALSE 2 No: 2640, Yes: 370
pcl.stressful_experience_upset_reminded_retro 10126 0.28 FALSE 2 No: 3248, Yes: 615
pcl.stressful_situation_avoiding_activities_retro 12352 0.12 FALSE 2 No: 1380, Yes: 257
pcl.cut_people_feeling_distant_retro 8677 0.38 FALSE 2 Yes: 3686, No: 1626
pcl.feeling_irritable_or_having_angry_outbursts_retro 9872 0.29 FALSE 2 No: 2118, Yes: 1999
pcl.difficulty_concentrating_retro 9390 0.33 FALSE 2 No: 2339, Yes: 2260
phq.problems_made_difficult_care 4173 0.70 FALSE 4 Not: 6435, Som: 3028, Ver: 256, Ext: 97
phq.pandemic_felt_feelings 260 0.98 FALSE 5 No : 7646, A l: 4579, Muc: 991, A l: 366
phq.little_interest_or_pleasure_in_doing_things_retro 7933 0.43 FALSE 4 Not: 4364, Sev: 1465, Mor: 158, Nea: 69
phq.feeling_down_depressed_or_hopeless_retro 7932 0.43 FALSE 4 Not: 3749, Sev: 2067, Mor: 167, Nea: 74
phq.staying_asleep_sleeping_trouble_retro 7930 0.43 FALSE 4 Not: 2931, Sev: 2476, Mor: 423, Nea: 229
phq.feeling_tired_or_having_little_energy_retro 7932 0.43 FALSE 4 Not: 2875, Sev: 2618, Mor: 381, Nea: 183
phq.poor_appetite_or_overeating_retro 7930 0.43 FALSE 4 Not: 4288, Sev: 1378, Mor: 266, Nea: 127
phq.feeling_bad_failure_family_retro 7929 0.43 FALSE 4 Not: 4330, Sev: 1420, Mor: 187, Nea: 123
phq.trouble_concentrating_reading_newspaper_retro 7931 0.43 FALSE 4 Not: 4643, Sev: 1177, Mor: 162, Nea: 76
phq.moving_fidgety_noticed_opposite_retro 7931 0.43 FALSE 4 Not: 5653, Sev: 310, Mor: 66, Nea: 29
phq.dead_hurting_thoughts_retro 7932 0.43 FALSE 4 Not: 5555, Sev: 411, Mor: 57, Nea: 34
phq.little_interest_or_pleasure_in_doing_things_base 199 0.99 FALSE 4 Not: 9555, Sev: 3472, Mor: 496, Nea: 267
phq.feeling_down_depressed_or_hopeless_base 207 0.99 FALSE 4 Not: 9330, Sev: 3773, Mor: 473, Nea: 206
phq.staying_asleep_sleeping_trouble_base 197 0.99 FALSE 4 Not: 7009, Sev: 4663, Mor: 1209, Nea: 911
phq.feeling_tired_or_having_little_energy_base 202 0.99 FALSE 4 Not: 6925, Sev: 5171, Mor: 1030, Nea: 661
phq.poor_appetite_or_overeating_base 207 0.99 FALSE 4 Not: 9733, Sev: 2648, Mor: 868, Nea: 533
phq.feeling_bad_failure_family_base 211 0.98 FALSE 4 Not: 10868, Sev: 2104, Mor: 497, Nea: 309
phq.trouble_concentrating_reading_newspaper_base 209 0.99 FALSE 4 Not: 10147, Sev: 2789, Mor: 546, Nea: 298
phq.moving_fidgety_noticed_opposite_base 211 0.98 FALSE 4 Not: 12895, Sev: 646, Mor: 146, Nea: 91
phq.dead_hurting_thoughts_base 215 0.98 FALSE 4 Not: 13041, Sev: 576, Mor: 88, Nea: 69
ocir.felt_pandemic_feelings 13009 0.07 FALSE 5 No : 475, A l: 418, Muc: 71, A l: 14
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 13009 0.07 FALSE 5 Not: 576, A l: 241, Mod: 81, A l: 51
ocir.arranged_things_change_upset_retro 13009 0.07 FALSE 5 A l: 352, Not: 351, Mod: 147, A l: 82
ocir.repeat_feel_numbers_retro 13009 0.07 FALSE 5 Not: 863, A l: 73, Mod: 24, A l: 11
ocir.clean_simply_wash_feel_retro 13009 0.07 FALSE 5 Not: 537, A l: 290, Mod: 96, A l: 37
ocir.mind_upset_unpleasant_thoughts_retro 13010 0.07 FALSE 5 Not: 443, A l: 318, Mod: 123, A l: 63
ocir.afraid_avoid_throwing_things_retro 13009 0.07 FALSE 5 Not: 441, A l: 308, Mod: 125, A l: 74
ocir.light_switches_water_taps_retro 13009 0.07 FALSE 5 Not: 706, A l: 167, Mod: 56, A l: 35
ocir.arranged_things_retro 13010 0.07 FALSE 5 Not: 424, A l: 313, Mod: 123, A l: 87
ocir.good_feel_bad_numbers_retro 13009 0.07 FALSE 5 Not: 804, A l: 81, Mod: 43, A l: 37
ocir.hands_longer_wash_retro 13009 0.07 FALSE 5 Not: 627, A l: 207, Mod: 79, A l: 42
ocir.saved_things_retro 13009 0.07 FALSE 5 Not: 600, A l: 222, Mod: 96, A l: 45
ocir.frequently_difficulty_rid_nasty_retro 13009 0.07 FALSE 5 Not: 552, A l: 258, Mod: 86, A l: 61
ocir.i_check_things_more_often_than_necessary_retro 13009 0.07 FALSE 5 Not: 420, A l: 312, Mod: 151, A l: 73
ocir.arranged_properly_objects_upset_retro 13009 0.07 FALSE 5 Not: 413, A l: 311, Mod: 147, A l: 86
ocir.feel_compelled_count_things_retro 13009 0.07 FALSE 5 Not: 709, A l: 149, Mod: 56, A l: 51
ocir.strangers_touch_touched_difficult_retro 13009 0.07 FALSE 5 Not: 472, A l: 264, Mod: 113, A l: 77
ocir.control_difficult_find_thoughts_retro 13010 0.07 FALSE 5 Not: 400, A l: 315, Mod: 150, A l: 84
ocir.i_collect_things_i_dont_need_retro 13009 0.07 FALSE 5 Not: 602, A l: 228, Mod: 89, A l: 47
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 13484 0.04 FALSE 5 Not: 342, A l: 107, Mod: 25, A l: 22
ocir.arranged_things_change_upset_base 13484 0.04 FALSE 5 Not: 212, A l: 189, Mod: 55, A l: 32
ocir.repeat_feel_numbers_base 13484 0.04 FALSE 5 Not: 456, A l: 35, Mod: 10, A l: 2
ocir.clean_simply_wash_feel_base 13484 0.04 FALSE 5 Not: 378, A l: 97, Mod: 20, A l: 8
ocir.mind_upset_unpleasant_thoughts_base 13484 0.04 FALSE 5 Not: 246, A l: 180, Mod: 53, A l: 16
ocir.afraid_avoid_throwing_things_base 13484 0.04 FALSE 5 Not: 251, A l: 166, Mod: 53, A l: 24
ocir.light_switches_water_taps_base 13484 0.04 FALSE 5 Not: 366, A l: 97, Mod: 20, A l: 15
ocir.arranged_things_base 13484 0.04 FALSE 5 Not: 246, A l: 154, Mod: 59, A l: 30
ocir.good_feel_bad_numbers_base 13484 0.04 FALSE 5 Not: 427, A l: 44, Mod: 19, A l: 9
ocir.hands_longer_wash_base 13484 0.04 FALSE 5 Not: 384, A l: 81, Mod: 21, A l: 17
ocir.saved_things_base 13484 0.04 FALSE 5 Not: 327, A l: 120, Mod: 36, A l: 17
ocir.frequently_difficulty_rid_nasty_base 13484 0.04 FALSE 5 Not: 298, A l: 138, Mod: 40, A l: 19
ocir.i_check_things_more_often_than_necessary_base 13484 0.04 FALSE 5 Not: 281, A l: 157, Mod: 35, A l: 23
ocir.arranged_properly_objects_upset_base 13484 0.04 FALSE 5 Not: 245, A l: 170, Mod: 50, A l: 29
ocir.feel_compelled_count_things_base 13484 0.04 FALSE 5 Not: 406, A l: 67, Mod: 18, A l: 11
ocir.strangers_touch_touched_difficult_base 13484 0.04 FALSE 5 Not: 355, A l: 92, Mod: 32, A l: 16
ocir.control_difficult_find_thoughts_base 13484 0.04 FALSE 5 Not: 252, A l: 175, Mod: 45, A l: 24
ocir.i_collect_things_i_dont_need_base 13484 0.04 FALSE 5 Not: 312, A l: 119, Mod: 44, A l: 19
alsfrs.limb_weakness_noticed_past 1069 0.92 FALSE 2 No: 11785, Yes: 1135
alsfrs.normal 12849 0.08 FALSE 2 Nor: 873, Not: 267
alsfrs.slow_or_sloppy_all_words_are_legible 12849 0.08 FALSE 2 Not: 1031, Slo: 109
alsfrs.not_all_words_are_legible 12849 0.08 FALSE 2 Not: 1040, Not: 100
alsfrs.able_to_grip_pen 12849 0.08 FALSE 2 Not: 1102, Abl: 38
alsfrs.unable_to_grip_pen 12849 0.08 FALSE 2 Not: 1091, Una: 49
alsfrs.have_you_noticed_any_difficulty_walking 12847 0.08 FALSE 5 Nor: 651, Ear: 350, Nee: 122, Abl: 11
alsfrs.do_you_have_any_difficulty_climbing_stairs 12849 0.08 FALSE 5 Nor: 625, Slo: 258, Mil: 137, Nee: 87
ess.felt_excessively_sleepy_past 1065 0.92 FALSE 2 No: 10296, Yes: 2628
ess.sitting_and_reading 11365 0.19 FALSE 4 Sli: 1157, Mod: 659, Wou: 499, Hig: 309
ess.watching_tv 11370 0.19 FALSE 4 Sli: 1126, Mod: 757, Wou: 386, Hig: 350
ess.sitting_inactive_in_a_public_place 11369 0.19 FALSE 4 Wou: 1631, Sli: 717, Mod: 216, Hig: 56
ess.break_passenger_car_hour 11366 0.19 FALSE 4 Sli: 979, Wou: 949, Mod: 413, Hig: 282
ess.afternoon_rest_circumstances_lying 11368 0.19 FALSE 4 Hig: 878, Mod: 744, Sli: 693, Wou: 306
ess.sitting_and_talking_to_someone 11364 0.19 FALSE 4 Wou: 2354, Sli: 223, Mod: 36, Hig: 12
ess.sitting_quietly_after_a_lunch_without_alcohol 11366 0.19 FALSE 4 Wou: 1147, Sli: 1011, Mod: 328, Hig: 137
ess.car_minutes_stopped_traffic 11365 0.19 FALSE 4 Wou: 2388, Sli: 187, Mod: 39, Hig: 10
ess.insomnia 1079 0.92 FALSE 2 Not: 12685, Ins: 225
ess.narcolepsy 1079 0.92 FALSE 2 Not: 12903, Nar: 7
ess.rem_sleep_behaviour_disorder 1079 0.92 FALSE 2 Not: 12887, REM: 23
ess.restless_legs_syndrome 1079 0.92 FALSE 2 Not: 12587, Res: 323
ess.sleep_apnea 1079 0.92 FALSE 2 Not: 12701, Sle: 209
ess.sleep_terrors 1079 0.92 FALSE 2 Not: 12857, Sle: 53
ess.sleepwalking 1079 0.92 FALSE 2 Not: 12877, Sle: 33
ess.other 1079 0.92 FALSE 2 Not: 12777, Oth: 133
ess.none 1079 0.92 FALSE 2 Non: 12036, Not: 874
midas.headaches_suffered_past_month 1063 0.92 FALSE 2 No: 9411, Yes: 3515
midas.days_past_month_miss_work_school 13989 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 13989 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 13989 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 13989 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 13989 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 1068 0.92 FALSE 2 No: 12512, Yes: 409
nmss.severe_taste_smell_loss 13580 0.03 FALSE 6 Mil: 110, Mod: 85, Min: 74, Sev: 54
nmsw.drink_problems_choking_difficulty 1078 0.92 FALSE 2 No: 12458, Yes: 453
nmsw.regularly_night_pass_urine 1074 0.92 FALSE 2 No: 8563, Yes: 4352
nmsw.sex_difficult_finding 1251 0.91 FALSE 2 No: 11738, Yes: 1000
nmsw.weak_standing_feeling_light 1079 0.92 FALSE 2 No: 10721, Yes: 2189
nmsw.acting_moving_sleep_talking 1094 0.92 FALSE 2 No: 12049, Yes: 846
nmsw.double_vision 1086 0.92 FALSE 2 No: 12589, Yes: 314
tinnitus.ears_noises_minutes_head 1069 0.92 FALSE 2 No: 10896, Yes: 2024
tinnitus.ears_noises_minutes_head_frequency 11965 0.14 FALSE 5 Now: 870, Som: 717, Now: 329, Not: 94
tinnitus.noises_worry_worst_upset 11967 0.14 FALSE 4 Sli: 1055, Not: 537, Mod: 376, Sev: 54

Variable type: logical

skim_variable n_missing complete_rate mean count
ID.dup 0 1 0 FAL: 13989

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 23518.00 17932.36 1 9599 19534 29418 64460 ▇▇▃▂▃
Birthyear_unc_numeric 0 1.00 64.49 13.94 9 54 62 73 104 ▁▁▇▅▂
Birthmonth_numeric 0 1.00 6.43 3.42 1 3 6 9 12 ▇▅▅▅▇
Birthday_numeric 0 1.00 15.74 8.80 1 8 16 23 31 ▇▇▇▇▆
Gender_numeric 0 1.00 0.57 0.50 0 0 1 1 3 ▆▇▁▁▁
Sex_numeric 0 1.00 0.57 0.50 0 0 1 1 1 ▆▁▁▁▇
Birthyear_numeric 0 1.00 1964.49 13.94 1909 1954 1962 1973 2004 ▁▁▇▅▂
Age_uncleaned 0 1.00 55.40 13.94 16 47 58 66 111 ▂▅▇▁▁
Ethnicity_numeric 3114 0.78 1.05 0.32 1 1 1 1 4 ▇▁▁▁▁
Age 0 1.00 55.40 13.94 16 47 58 66 111 ▂▅▇▁▁
age_category_numeric 0 1.00 5.62 1.62 1 5 6 7 13 ▂▅▇▁▁
employment.phd_numeric 7 1.00 0.04 0.20 0 0 0 0 1 ▇▁▁▁▁
employment.masters_degree_or_equivalent_numeric 7 1.00 0.16 0.36 0 0 0 0 1 ▇▁▁▁▂
employment.postgraduate_degree_or_equivalent_numeric 7 1.00 0.12 0.32 0 0 0 0 1 ▇▁▁▁▁
employment.bachelors_degree_or_equivalent_numeric 7 1.00 0.44 0.50 0 0 0 1 1 ▇▁▁▁▆
employment.a_levelsas_levels_or_equivalent_numeric 7 1.00 0.54 0.50 0 0 1 1 1 ▇▁▁▁▇
employment.o_levelsgcses_or_equivalent_numeric 7 1.00 0.68 0.46 0 0 1 1 1 ▃▁▁▁▇
employment.cses_or_equivalent_numeric 7 1.00 0.18 0.39 0 0 0 0 1 ▇▁▁▁▂
employment.nvq_or_hnd_or_hnc_or_equivalent_numeric 7 1.00 0.22 0.42 0 0 0 0 1 ▇▁▁▁▂
employment.government_work_key_workers_numeric 5661 0.60 2.67 3.66 0 0 1 5 11 ▇▁▁▁▂
employment.unemployed_numeric 22 1.00 0.02 0.14 0 0 0 0 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 22 1.00 0.02 0.13 0 0 0 0 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 22 1.00 0.02 0.14 0 0 0 0 1 ▇▁▁▁▁
employment.retired_numeric 22 1.00 0.38 0.48 0 0 0 1 1 ▇▁▁▁▅
employment.student_gcse_or_a_level_numeric 22 1.00 0.00 0.04 0 0 0 0 1 ▇▁▁▁▁
employment.student_university_numeric 22 1.00 0.02 0.14 0 0 0 0 1 ▇▁▁▁▁
employment.became_unemployed_numeric 4974 0.64 0.03 0.17 0 0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 4974 0.64 0.09 0.28 0 0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 4974 0.64 0.01 0.11 0 0 0 0 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 4974 0.64 0.04 0.19 0 0 0 0 1 ▇▁▁▁▁
highest_education_numeric 757 0.95 3.16 1.11 1 2 4 4 4 ▂▂▁▃▇
key_worker_numeric 32 1.00 0.34 0.47 0 0 0 1 1 ▇▁▁▁▅
anxiety_disorders_numeric 77 0.99 0.14 0.35 0 0 0 0 1 ▇▁▁▁▁
mhd.specific_phobia_e.g._phobia_of_flying_numeric 77 0.99 0.01 0.08 0 0 0 0 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 77 0.99 0.02 0.13 0 0 0 0 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 77 0.99 0.05 0.21 0 0 0 0 1 ▇▁▁▁▁
depressive_disorders_numeric 77 0.99 0.22 0.41 0 0 0 0 1 ▇▁▁▁▂
eating_disorders_numeric 63 1.00 0.02 0.12 0 0 0 0 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 77 0.99 0.01 0.11 0 0 0 0 1 ▇▁▁▁▁
psychotic_disorders_numeric 112 0.99 0.00 0.05 0 0 0 0 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 77 0.99 0.01 0.08 0 0 0 0 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 77 0.99 0.02 0.13 0 0 0 0 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 112 0.99 0.00 0.06 0 0 0 0 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 112 0.99 0.00 0.05 0 0 0 0 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 112 0.99 0.01 0.08 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_a_numeric 122 0.99 0.00 0.02 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_b_numeric 122 0.99 0.00 0.07 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_c_numeric 122 0.99 0.00 0.02 0 0 0 0 1 ▇▁▁▁▁
depression_and_anxiety_numeric 77 0.99 0.50 0.90 0 0 0 1 3 ▇▁▁▂▁
restricting_vs_binge_eating_eating_disorders_numeric 63 1.00 0.02 0.19 0 0 0 0 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 136 0.99 0.02 0.24 0 0 0 0 3 ▇▁▁▁▁
control_numeric 92 0.99 0.70 0.46 0 0 1 1 1 ▃▁▁▁▇
disorders_total_count 141 0.99 0.42 0.79 0 0 0 1 7 ▇▁▁▁▁
comorbidity_total_count_numeric 10102 0.28 0.51 0.79 0 0 0 1 6 ▇▁▁▁▁
comorbidity_total_count_factor_numeric 10102 0.28 0.49 0.73 0 0 0 1 3 ▇▃▁▁▁
gad.problems_made_difficult_care_numeric 6380 0.54 1.44 0.61 1 1 1 2 4 ▇▅▁▁▁
gad.pandemic_felt_feelings_numeric 492 0.96 2.61 0.69 1 2 3 3 5 ▁▃▇▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 8624 0.38 0.50 0.64 0 0 0 1 3 ▇▆▁▁▁
gad.control_worrying_stop_retro_numeric 8622 0.38 0.36 0.61 0 0 0 1 3 ▇▃▁▁▁
gad.worrying_too_much_about_different_things_retro_numeric 8619 0.38 0.51 0.65 0 0 0 1 3 ▇▆▁▁▁
gad.trouble_relaxing_retro_numeric 8617 0.38 0.42 0.65 0 0 0 1 3 ▇▃▁▁▁
gad.sit_restless_hard_retro_numeric 8619 0.38 0.18 0.47 0 0 0 0 3 ▇▁▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 8616 0.38 0.46 0.61 0 0 0 1 3 ▇▅▁▁▁
gad.awful_feeling_afraid_happen_retro_numeric 8617 0.38 0.26 0.56 0 0 0 0 3 ▇▂▁▁▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 478 0.97 0.45 0.71 0 0 0 1 3 ▇▃▁▁▁
gad.control_worrying_stop_base_numeric 481 0.97 0.29 0.64 0 0 0 0 3 ▇▂▁▁▁
gad.worrying_too_much_about_different_things_base_numeric 480 0.97 0.39 0.68 0 0 0 1 3 ▇▂▁▁▁
gad.trouble_relaxing_base_numeric 477 0.97 0.42 0.72 0 0 0 1 3 ▇▃▁▁▁
gad.sit_restless_hard_base_numeric 476 0.97 0.19 0.52 0 0 0 0 3 ▇▁▁▁▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 480 0.97 0.41 0.66 0 0 0 1 3 ▇▃▁▁▁
gad.awful_feeling_afraid_happen_base_numeric 477 0.97 0.29 0.62 0 0 0 0 3 ▇▂▁▁▁
gad.sum_score_retro_raw 0 1.00 1.03 2.35 0 0 0 1 21 ▇▁▁▁▁
gad.sum_score_base_raw 0 1.00 2.36 3.61 0 0 1 3 21 ▇▁▁▁▁
na_per_person_gad_base 0 1.00 0.24 1.27 0 0 0 0 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 4.31 3.40 0 0 7 7 7 ▅▁▁▁▇
gad.sum_score_base 489 0.97 2.45 3.65 0 0 1 3 21 ▇▁▁▁▁
gad.sum_score_retro 8631 0.38 2.69 3.15 0 0 2 4 21 ▇▂▁▁▁
pcl.stressful_experience_repeated_images_base_numeric 757 0.95 1.33 0.71 1 1 1 1 5 ▇▂▁▁▁
pcl.stressful_experience_upset_reminded_base_numeric 763 0.95 1.41 0.77 1 1 1 2 5 ▇▂▁▁▁
pcl.stressful_situation_avoiding_activities_base_numeric 768 0.95 1.19 0.60 1 1 1 1 5 ▇▁▁▁▁
pcl.cut_people_feeling_distant_base_numeric 766 0.95 1.67 1.00 1 1 1 2 5 ▇▃▁▁▁
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 780 0.94 1.41 0.71 1 1 1 2 5 ▇▃▁▁▁
pcl.difficulty_concentrating_base_numeric 779 0.94 1.50 0.82 1 1 1 2 5 ▇▃▁▁▁
pcl.stressful_experience_repeated_images_retro_numeric 10979 0.22 0.12 0.33 0 0 0 0 1 ▇▁▁▁▁
pcl.stressful_experience_upset_reminded_retro_numeric 10126 0.28 0.16 0.37 0 0 0 0 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 12352 0.12 0.16 0.36 0 0 0 0 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 8677 0.38 0.69 0.46 0 0 1 1 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 9872 0.29 0.49 0.50 0 0 0 1 1 ▇▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 9390 0.33 0.49 0.50 0 0 0 1 1 ▇▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 0.66 1.11 0 0 0 1 6 ▇▁▁▁▁
pcl.sum_score_base_raw 0 1.00 8.04 3.87 0 6 7 9 30 ▇▇▁▁▁
na_per_person_pcl_base 0 1.00 0.33 1.35 0 0 0 0 6 ▇▁▁▁▁
na_per_person_pcl_retro 0 1.00 4.39 1.81 0 3 5 6 6 ▂▁▂▂▇
pcl.sum_score_base 843 0.94 8.51 3.46 6 6 7 10 30 ▇▂▁▁▁
pcl.sum_score_retro 13357 0.05 1.93 1.98 0 0 1 3 6 ▇▂▂▁▂
phq.problems_made_difficult_care_numeric 4173 0.70 1.39 0.59 1 1 1 2 4 ▇▃▁▁▁
phq.pandemic_felt_feelings_numeric 260 0.98 2.57 0.71 1 2 3 3 5 ▁▅▇▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 7933 0.43 0.33 0.58 0 0 0 1 3 ▇▃▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 7932 0.43 0.43 0.61 0 0 0 1 3 ▇▅▁▁▁
phq.staying_asleep_sleeping_trouble_retro_numeric 7930 0.43 0.66 0.77 0 0 1 1 3 ▇▇▁▁▁
phq.feeling_tired_or_having_little_energy_retro_numeric 7932 0.43 0.65 0.73 0 0 1 1 3 ▇▇▁▁▁
phq.poor_appetite_or_overeating_retro_numeric 7930 0.43 0.38 0.67 0 0 0 1 3 ▇▂▁▁▁
phq.feeling_bad_failure_family_retro_numeric 7929 0.43 0.36 0.64 0 0 0 1 3 ▇▂▁▁▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 7931 0.43 0.29 0.58 0 0 0 0 3 ▇▂▁▁▁
phq.moving_fidgety_noticed_opposite_retro_numeric 7931 0.43 0.09 0.36 0 0 0 0 3 ▇▁▁▁▁
phq.dead_hurting_thoughts_retro_numeric 7932 0.43 0.10 0.38 0 0 0 0 3 ▇▁▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 199 0.99 0.38 0.65 0 0 0 1 3 ▇▃▁▁▁
phq.feeling_down_depressed_or_hopeless_base_numeric 207 0.99 0.39 0.63 0 0 0 1 3 ▇▃▁▁▁
phq.staying_asleep_sleeping_trouble_base_numeric 197 0.99 0.71 0.88 0 0 0 1 3 ▇▅▁▂▁
phq.feeling_tired_or_having_little_energy_base_numeric 202 0.99 0.67 0.81 0 0 0 1 3 ▇▆▁▁▁
phq.poor_appetite_or_overeating_base_numeric 207 0.99 0.43 0.78 0 0 0 1 3 ▇▂▁▁▁
phq.feeling_bad_failure_family_base_numeric 211 0.98 0.29 0.64 0 0 0 0 3 ▇▂▁▁▁
phq.trouble_concentrating_reading_newspaper_base_numeric 209 0.99 0.35 0.66 0 0 0 1 3 ▇▂▁▁▁
phq.moving_fidgety_noticed_opposite_base_numeric 211 0.98 0.09 0.38 0 0 0 0 3 ▇▁▁▁▁
phq.dead_hurting_thoughts_base_numeric 215 0.98 0.07 0.33 0 0 0 0 3 ▇▁▁▁▁
phq.sum_score_retro_raw 0 1.00 1.42 2.92 0 0 0 2 27 ▇▁▁▁▁
phq.sum_score_base_raw 0 1.00 3.33 4.14 0 0 2 5 27 ▇▂▁▁▁
na_per_person_phq_retro 0 1.00 5.10 4.46 0 0 9 9 9 ▆▁▁▁▇
phq.missing_only_suicide_item_retro 0 1.00 0.00 0.01 0 0 0 0 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 0.13 1.06 0 0 0 0 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.00 0.01 0 0 0 0 1 ▇▁▁▁▁
phq.sum_score_base 233 0.98 3.37 4.16 0 0 2 5 27 ▇▂▁▁▁
phq.sum_score_8items_base 0 1.00 3.33 4.14 0 0 2 5 27 ▇▂▁▁▁
phq.sum_score_retro 7943 0.43 3.28 3.68 0 1 2 4 27 ▇▁▁▁▁
phq.sum_score_8items_retro 0 1.00 1.42 2.92 0 0 0 2 27 ▇▁▁▁▁
ocir.felt_pandemic_feelings_numeric 13009 0.07 2.45 0.66 1 2 3 3 5 ▁▇▇▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 13009 0.07 0.69 1.03 0 0 0 1 4 ▇▃▁▁▁
ocir.arranged_things_change_upset_retro_numeric 13009 0.07 1.11 1.13 0 0 1 2 4 ▇▇▃▂▁
ocir.repeat_feel_numbers_retro_numeric 13009 0.07 0.19 0.62 0 0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 13009 0.07 0.69 0.94 0 0 0 1 4 ▇▅▂▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 13010 0.07 0.90 1.06 0 0 1 1 4 ▇▆▂▁▁
ocir.afraid_avoid_throwing_things_retro_numeric 13009 0.07 0.93 1.08 0 0 1 1 4 ▇▆▂▂▁
ocir.light_switches_water_taps_retro_numeric 13009 0.07 0.46 0.88 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 13010 0.07 0.97 1.10 0 0 1 1 4 ▇▆▂▂▁
ocir.good_feel_bad_numbers_retro_numeric 13009 0.07 0.34 0.85 0 0 0 0 4 ▇▁▁▁▁
ocir.hands_longer_wash_retro_numeric 13009 0.07 0.60 0.98 0 0 0 1 4 ▇▂▁▁▁
ocir.saved_things_retro_numeric 13009 0.07 0.63 0.96 0 0 0 1 4 ▇▃▁▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 13009 0.07 0.72 1.02 0 0 0 1 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 13009 0.07 0.95 1.05 0 0 1 2 4 ▇▆▃▂▁
ocir.arranged_properly_objects_upset_retro_numeric 13009 0.07 0.97 1.06 0 0 1 2 4 ▇▆▃▂▁
ocir.feel_compelled_count_things_retro_numeric 13009 0.07 0.48 0.93 0 0 0 1 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 13009 0.07 0.96 1.19 0 0 1 1 4 ▇▅▂▁▁
ocir.control_difficult_find_thoughts_retro_numeric 13010 0.07 1.01 1.09 0 0 1 2 4 ▇▆▃▂▁
ocir.i_collect_things_i_dont_need_retro_numeric 13009 0.07 0.62 0.94 0 0 0 1 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 13484 0.04 0.51 0.91 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 13484 0.04 0.92 1.04 0 0 1 1 4 ▇▇▂▁▁
ocir.repeat_feel_numbers_base_numeric 13484 0.04 0.14 0.48 0 0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 13484 0.04 0.33 0.67 0 0 0 1 4 ▇▂▁▁▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 13484 0.04 0.74 0.91 0 0 1 1 4 ▇▆▂▁▁
ocir.afraid_avoid_throwing_things_base_numeric 13484 0.04 0.77 0.97 0 0 1 1 4 ▇▅▂▁▁
ocir.light_switches_water_taps_base_numeric 13484 0.04 0.42 0.82 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 13484 0.04 0.84 1.05 0 0 1 1 4 ▇▅▂▁▁
ocir.good_feel_bad_numbers_base_numeric 13484 0.04 0.26 0.72 0 0 0 0 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 13484 0.04 0.36 0.75 0 0 0 0 4 ▇▂▁▁▁
ocir.saved_things_base_numeric 13484 0.04 0.52 0.85 0 0 0 1 4 ▇▃▁▁▁
ocir.frequently_difficulty_rid_nasty_base_numeric 13484 0.04 0.62 0.93 0 0 0 1 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_base_numeric 13484 0.04 0.66 0.92 0 0 0 1 4 ▇▅▁▁▁
ocir.arranged_properly_objects_upset_base_numeric 13484 0.04 0.79 0.98 0 0 1 1 4 ▇▆▂▁▁
ocir.feel_compelled_count_things_base_numeric 13484 0.04 0.29 0.69 0 0 0 0 4 ▇▁▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 13484 0.04 0.48 0.90 0 0 0 1 4 ▇▂▁▁▁
ocir.control_difficult_find_thoughts_base_numeric 13484 0.04 0.74 0.93 0 0 1 1 4 ▇▆▂▁▁
ocir.i_collect_things_i_dont_need_base_numeric 13484 0.04 0.61 0.95 0 0 0 1 4 ▇▃▁▁▁
ocir.sum_score_retro_raw 3062 0.78 1.18 4.85 0 0 0 0 70 ▇▁▁▁▁
ocir.sum_score_base_raw 3062 0.78 0.46 2.93 0 0 0 0 70 ▇▁▁▁▁
na_per_person_ocir_retro 3062 0.78 16.39 5.14 0 18 18 18 18 ▁▁▁▁▇
na_per_person_ocir_base 3062 0.78 17.17 3.78 0 18 18 18 18 ▁▁▁▁▇
ocir.sum_score_base 13484 0.04 10.01 9.50 0 3 8 14 70 ▇▂▁▁▁
ocir.sum_score_retro 13012 0.07 13.21 10.17 0 6 11 18 70 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 1069 0.92 0.09 0.28 0 0 0 0 1 ▇▁▁▁▁
alsfrs.normal_numeric 12849 0.08 0.77 0.42 0 1 1 1 1 ▂▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 12849 0.08 0.10 0.29 0 0 0 0 1 ▇▁▁▁▁
alsfrs.not_all_words_are_legible_numeric 12849 0.08 0.09 0.28 0 0 0 0 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 12849 0.08 0.03 0.18 0 0 0 0 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 12849 0.08 0.04 0.20 0 0 0 0 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 12847 0.08 0.58 0.77 0 0 0 1 4 ▇▅▂▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 12849 0.08 0.81 1.10 0 0 0 1 4 ▇▃▂▁▁
ess.felt_excessively_sleepy_past_numeric 1065 0.92 0.20 0.40 0 0 0 0 1 ▇▁▁▁▂
ess.sitting_and_reading_numeric 11365 0.19 1.30 0.91 0 1 1 2 3 ▃▇▁▅▂
ess.watching_tv_numeric 11370 0.19 1.41 0.90 0 1 1 2 3 ▃▇▁▆▂
ess.sitting_inactive_in_a_public_place_numeric 11369 0.19 0.50 0.74 0 0 0 1 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 11366 0.19 1.01 0.97 0 0 1 2 3 ▇▇▁▃▂
ess.afternoon_rest_circumstances_lying_numeric 11368 0.19 1.84 1.02 0 1 2 3 3 ▃▆▁▇▇
ess.sitting_and_talking_to_someone_numeric 11364 0.19 0.13 0.41 0 0 0 0 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 11366 0.19 0.79 0.85 0 0 1 1 3 ▇▇▁▂▁
ess.car_minutes_stopped_traffic_numeric 11365 0.19 0.11 0.39 0 0 0 0 3 ▇▁▁▁▁
ess.insomnia_numeric 1079 0.92 0.02 0.13 0 0 0 0 1 ▇▁▁▁▁
ess.narcolepsy_numeric 1079 0.92 0.00 0.02 0 0 0 0 1 ▇▁▁▁▁
ess.rem_sleep_behaviour_disorder_numeric 1079 0.92 0.00 0.04 0 0 0 0 1 ▇▁▁▁▁
ess.restless_legs_syndrome_numeric 1079 0.92 0.03 0.16 0 0 0 0 1 ▇▁▁▁▁
ess.sleep_apnea_numeric 1079 0.92 0.02 0.13 0 0 0 0 1 ▇▁▁▁▁
ess.sleep_terrors_numeric 1079 0.92 0.00 0.06 0 0 0 0 1 ▇▁▁▁▁
ess.sleepwalking_numeric 1079 0.92 0.00 0.05 0 0 0 0 1 ▇▁▁▁▁
ess.other_numeric 1079 0.92 0.01 0.10 0 0 0 0 1 ▇▁▁▁▁
ess.none_numeric 1079 0.92 0.93 0.25 0 1 1 1 1 ▁▁▁▁▇
midas.headaches_suffered_past_month_numeric 1063 0.92 0.27 0.44 0 0 0 1 1 ▇▁▁▁▃
midas.days_past_month_miss_work_school_numeric 10834 0.23 1.03 3.38 0 0 0 0 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 10959 0.22 1.21 3.36 0 0 0 1 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 10849 0.22 2.20 4.51 0 0 0 2 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 10897 0.22 2.36 4.77 0 0 0 3 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 11027 0.21 1.09 3.63 0 0 0 0 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 1068 0.92 0.03 0.18 0 0 0 0 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 13580 0.03 2.29 1.45 0 1 2 3 5 ▇▇▆▃▂
nmsw.drink_problems_choking_difficulty_numeric 1078 0.92 0.04 0.18 0 0 0 0 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 1074 0.92 0.34 0.47 0 0 0 1 1 ▇▁▁▁▅
nmsw.sex_difficult_finding_numeric 1251 0.91 0.08 0.27 0 0 0 0 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 1079 0.92 0.17 0.38 0 0 0 0 1 ▇▁▁▁▂
nmsw.acting_moving_sleep_talking_numeric 1094 0.92 0.07 0.25 0 0 0 0 1 ▇▁▁▁▁
nmsw.double_vision_numeric 1086 0.92 0.02 0.15 0 0 0 0 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 1069 0.92 0.16 0.36 0 0 0 0 1 ▇▁▁▁▂
tinnitus.ears_noises_minutes_head_frequency_numeric 11965 0.14 2.96 1.02 0 2 3 4 4 ▁▁▆▃▇
tinnitus.noises_worry_worst_upset_numeric 11967 0.14 0.97 0.75 0 0 1 1 3 ▅▇▁▃▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-05-01 18:29:32 2020-07-14 08:28:41 2020-05-11 06:34:29 13755

Definition of prepandemic and baseline

Exlcude people who have joined GLAD/EDGI after the pandemic began, sensitivity analyses done on the cut off’s we have chosen. Potentially GLAD/EDGI particiapnts between January to April. EDGI launched on February 24th.

Prepandemic GLAD/EDGI = Prepandemic (GLAD/EDGI sign-up questionnaire)

Retrospective = COPING/RAMP sign up questionnaire; only of those participants who have reported a change in symptoms

Baseline = COPING/RAMP sign up questionnaire

Dates for the definition of prepandemic

Calculate the time difference between starting the COPING questionnaire and the beginning of the pandemic

Descriptive Statistics  
dat$time_diff_coping_first_case_uk_jan_31  
N: 13989  

                  time_diff_coping_first_case_uk_jan_31
--------------- ---------------------------------------
           Mean                                   14.65
        Std.Dev                                    1.09
            Min                                   13.11
         Median                                   14.47
            Max                                   23.62
        N.Valid                                13989.00
      Pct.Valid                                  100.00

Calculate the time difference between sign up questionnaire and the beginning of the pandemic

Testing 3, 6, and 9 months before pandemic

Calculate the time difference between sign up questionnaire and COPING questionnaire

Proportion of people signed up over one year ago

Proportion of people signed up over half a year ago

#Total score comparison between PHQ, PCL and GAD, prepandemic, retrospecive and baseline PHQ difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-17.000   0.000   2.000   2.372   4.000  24.000    7958 

GAD difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-15.000   0.000   1.000   2.002   3.000  21.000    8637 

PCL difference scores NOTE: Only computed baseline and prepandemic differences as the retro account here isn’t actually retrospective, but whether the reported baseline scores are due to the pandemic.

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
   0.00    0.00    1.00    1.93    3.00    6.00   13357 
Frequencies  
dat$pcl.stressful_experience_repeated_images_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    2640     87.71          87.71     18.87          18.87
        Yes     370     12.29         100.00      2.64          21.52
       <NA>   10979                              78.48         100.00
      Total   13989    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_situation_avoiding_activities_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    1380     84.30          84.30      9.86           9.86
        Yes     257     15.70         100.00      1.84          11.70
       <NA>   12352                              88.30         100.00
      Total   13989    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.feeling_irritable_or_having_angry_outbursts_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    2118     51.45          51.45     15.14          15.14
        Yes    1999     48.55         100.00     14.29          29.43
       <NA>    9872                              70.57         100.00
      Total   13989    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_experience_upset_reminded_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    3248     84.08          84.08     23.22          23.22
        Yes     615     15.92         100.00      4.40          27.61
       <NA>   10126                              72.39         100.00
      Total   13989    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.cut_people_feeling_distant_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    1626     30.61          30.61     11.62          11.62
        Yes    3686     69.39         100.00     26.35          37.97
       <NA>    8677                              62.03         100.00
      Total   13989    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.difficulty_concentrating_retro  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
         No    2339     50.86          50.86     16.72          16.72
        Yes    2260     49.14         100.00     16.16          32.88
       <NA>    9390                              67.12         100.00
      Total   13989    100.00         100.00    100.00         100.00

OCI-R difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-43.000  -6.000  -4.000  -4.187  -1.000  20.000   13486 

#Data level groups Identify which data (prepan, retro and baseline) each participant has.


Baseline and retrospective data              Baseline data only 
                           6031                            7725 
        Retrospective data only 
                             15 

GAD


Baseline and retrospective data              Baseline data only 
                           5352                            8148 
        Retrospective data only 
                              6 

PCL


Baseline and retrospective data              Baseline data only 
                            632                           12514 

OCI-R


Baseline and retrospective data              Baseline data only 
                            503                               2 
        Retrospective data only 
                            474 

#Read in respiratory data

GLAD respiratory

Select respiratory variables

EDGI respiratory

Select respiratory variables

NBR respiratory

  [1] "externalDataReference"                                       
  [2] "startDate"                                                   
  [3] "endDate"                                                     
  [4] "subjectid"                                                   
  [5] "respiratory.unusual_shortness_breath_diarrhoea"              
  [6] "respiratory.date_symptom_experience.txt"                     
  [7] "respiratory.worst_ill_feel"                                  
  [8] "respiratory.chillsfeverhigh_temperature"                     
  [9] "respiratory.persistent_cough"                                
 [10] "respiratory.shortness_of_breath"                             
 [11] "respiratory.body_achemuscle_pain"                            
 [12] "respiratory.sore_throat"                                     
 [13] "respiratory.headache"                                        
 [14] "respiratory.sneezing"                                        
 [15] "respiratory.runny_nose"                                      
 [16] "respiratory.blocked_nose"                                    
 [17] "respiratory.feeling_generally_unwell"                        
 [18] "respiratory.feeling_tiredfatigued"                           
 [19] "respiratory.diarrhoea"                                       
 [20] "respiratory.hoarse_voice"                                    
 [21] "respiratory.unusual_chest_pain_chest"                        
 [22] "respiratory.unusual_abdominal_pain"                          
 [23] "respiratory.feeling_confused_disorientated_drowsy"           
 [24] "respiratory.skipping_meals_because_you_felt_unwell"          
 [25] "respiratory.was_your_persistent_cough_dry_"                  
 [26] "respiratory.was_your_sense_of_smell_impaired"                
 [27] "respiratory.was_your_sense_of_taste_impaired"                
 [28] "respiratory.what_was_the_highest_temperature_you_had"        
 [29] "respiratory.throat_swab_coronavirus_nose"                    
 [30] "respiratory.throat_swab_test_nose"                           
 [31] "respiratory.coronavirus_antibody_test"                       
 [32] "respiratory.results_antibody_test"                           
 [33] "respiratory.paracetamol_panadol_anadin"                      
 [34] "respiratory.ibuprofen_nurofen_brufen_and_calprofen_syrup"    
 [35] "respiratory.aspirin"                                         
 [36] "respiratory.naproxen"                                        
 [37] "respiratory.cold_and_flu_remedies_please_specify"            
 [38] "respiratory.cold_and_flu_remedies_please_specify_text.txt"   
 [39] "respiratory.none_of_these"                                   
 [40] "respiratory.i_called_nhs111"                                 
 [41] "respiratory.i_called_my_gp"                                  
 [42] "respiratory.face_appointment_face"                           
 [43] "respiratory.hospital_accident_attended_emergency"            
 [44] "respiratory.field_hospital_hospital_admitted"                
 [45] "respiratory.none_of_these.1"                                 
 [46] "respiratory.what_dates_were_you_admitted_to_hospital.txt"    
 [47] "respiratory.what_dates_were_you_discharged_from_hospital.txt"
 [48] "respiratory.none"                                            
 [49] "respiratory.fluids_oxygen"                                   
 [50] "respiratory.invasive_ventilation"                            
 [51] "respiratory.invasive_ventilation.1"                          
 [52] "respiratory.have_your_symptoms_gone_awayresolved_now"        
 [53] "respiratory.feel_healthy_date_back.txt"                      
 [54] "respiratory.february_injury_experienced_medical"             
 [55] "respiratory.was_the_illness_or_injury_lifethreatening"       
 [56] "respiratory.admitted_treatment_hospital_injury"              
 [57] "respiratory.lasting_disability_injury_result"                
 [58] "respiratory.born_child_birth_defect"                         
 [59] "respiratory.nature_recent_illness_injury.txt"                
 [60] "respiratory.prescribed_regular_medication_february"          
 [61] "respiratory.addition_of_a_new_medication"                    
 [62] "respiratory.stopping_medication_previously_taking"           
 [63] "respiratory.dose_change_medication_previously"               
 [64] "respiratory.enter_frequency_medication_packaging"            
 [65] "respiratory.enter_frequency_medication_packaging.1"          
 [66] "respiratory.enter_frequency_medication_packaging.2"          
 [67] "respiratory.enter_frequency_medication_packaging.3"          
 [68] "respiratory.enter_frequency_medication_packaging.4"          
 [69] "respiratory.prescribed_additional_february_medication"       
 [70] "respiratory.enter_frequency_medication_packaging.5"          
 [71] "respiratory.enter_frequency_medication_packaging.6"          
 [72] "respiratory.enter_frequency_medication_packaging.7"          
 [73] "respiratory.enter_frequency_medication_packaging.8"          
 [74] "respiratory.enter_frequency_medication_packaging.9"          
 [75] "respiratory.add_discontinued_medication.txt"                 
 [76] "respiratory.stopped_medication_previously_taking"            
 [77] "respiratory.add_discontinued_medication.txt.1"               
 [78] "respiratory.dosing_regimen_enter_frequency"                  
 [79] "respiratory.dosing_regimen_enter_frequency.1"                
 [80] "respiratory.dosing_regimen_enter_frequency.2"                
 [81] "respiratory.dosing_regimen_enter_frequency.3"                
 [82] "respiratory.dosing_regimen_enter_frequency.4"                
 [83] "respiratory.prescribed_medicines_treatments"                 
 [84] "respiratory.medication_1"                                    
 [85] "respiratory.medication_2"                                    
 [86] "respiratory.medication_3"                                    
 [87] "respiratory.medication_4"                                    
 [88] "respiratory.medication_5"                                    
 [89] "respiratory.medication_6"                                    
 [90] "respiratory.medication_7"                                    
 [91] "respiratory.medication_8"                                    
 [92] "respiratory.medication_9"                                    
 [93] "respiratory.medication_10"                                   
 [94] "respiratory.medication_11"                                   
 [95] "respiratory.medication_12"                                   
 [96] "respiratory.medication_13"                                   
 [97] "respiratory.medication_14"                                   
 [98] "respiratory.medication_15"                                   
 [99] "respiratory.medication_16"                                   
[100] "respiratory.medication_17"                                   
[101] "respiratory.medication_18"                                   
[102] "respiratory.medication_19"                                   
[103] "respiratory.medication_20"                                   
[104] "respiratory.qqid125062240231choicetextentryvalue21"          
[105] "respiratory.qqid125062240231choicetextentryvalue31"          
[106] "respiratory.qqid125062240231choicetextentryvalue41"          
[107] "respiratory.qqid125062240231choicetextentryvalue51"          
[108] "respiratory.qqid125062240231choicetextentryvalue61"          
[109] "respiratory.qqid125062240231choicetextentryvalue71"          
[110] "respiratory.qqid125062240231choicetextentryvalue81"          
[111] "respiratory.qqid125062240231choicetextentryvalue91"          
[112] "respiratory.qqid125062240231choicetextentryvalue101"         
[113] "respiratory.qqid125062240231choicetextentryvalue111"         
[114] "respiratory.qqid125062240231choicetextentryvalue121"         
[115] "respiratory.qqid125062240231choicetextentryvalue131"         
[116] "respiratory.qqid125062240231choicetextentryvalue141"         
[117] "respiratory.qqid125062240231choicetextentryvalue151"         
[118] "respiratory.qqid125062240231choicetextentryvalue161"         
[119] "respiratory.qqid125062240231choicetextentryvalue171"         
[120] "respiratory.qqid125062240231choicetextentryvalue181"         
[121] "respiratory.qqid125062240231choicetextentryvalue191"         
[122] "respiratory.qqid125062240231choicetextentryvalue201"         
[123] "respiratory.qqid125062240231choicetextentryvalue211"         
[124] "respiratory.qqid125062240231choicetextentryvalue21.1"        
[125] "respiratory.qqid125062240231choicetextentryvalue31.1"        
[126] "respiratory.qqid125062240231choicetextentryvalue41.1"        
[127] "respiratory.qqid125062240231choicetextentryvalue51.1"        
[128] "respiratory.qqid125062240231choicetextentryvalue61.1"        
[129] "respiratory.qqid125062240231choicetextentryvalue71.1"        
[130] "respiratory.qqid125062240231choicetextentryvalue81.1"        
[131] "respiratory.qqid125062240231choicetextentryvalue91.1"        
[132] "respiratory.qqid125062240231choicetextentryvalue101.1"       
[133] "respiratory.qqid125062240231choicetextentryvalue111.1"       
[134] "respiratory.qqid125062240231choicetextentryvalue121.1"       
[135] "respiratory.qqid125062240231choicetextentryvalue131.1"       
[136] "respiratory.qqid125062240231choicetextentryvalue141.1"       
[137] "respiratory.qqid125062240231choicetextentryvalue151.1"       
[138] "respiratory.qqid125062240231choicetextentryvalue161.1"       
[139] "respiratory.qqid125062240231choicetextentryvalue171.1"       
[140] "respiratory.qqid125062240231choicetextentryvalue181.1"       
[141] "respiratory.qqid125062240231choicetextentryvalue191.1"       
[142] "respiratory.qqid125062240231choicetextentryvalue201.1"       
[143] "respiratory.qqid125062240231choicetextentryvalue211.1"       
[144] "respiratory.qqid125062240231choicetextentryvalue21.2"        
[145] "respiratory.qqid125062240231choicetextentryvalue31.2"        
[146] "respiratory.qqid125062240231choicetextentryvalue41.2"        
[147] "respiratory.qqid125062240231choicetextentryvalue51.2"        
[148] "respiratory.qqid125062240231choicetextentryvalue61.2"        
[149] "respiratory.qqid125062240231choicetextentryvalue71.2"        
[150] "respiratory.qqid125062240231choicetextentryvalue81.2"        
[151] "respiratory.qqid125062240231choicetextentryvalue91.2"        
[152] "respiratory.qqid125062240231choicetextentryvalue101.2"       
[153] "respiratory.qqid125062240231choicetextentryvalue111.2"       
[154] "respiratory.qqid125062240231choicetextentryvalue121.2"       
[155] "respiratory.qqid125062240231choicetextentryvalue131.2"       
[156] "respiratory.qqid125062240231choicetextentryvalue141.2"       
[157] "respiratory.qqid125062240231choicetextentryvalue151.2"       
[158] "respiratory.qqid125062240231choicetextentryvalue161.2"       
[159] "respiratory.qqid125062240231choicetextentryvalue171.2"       
[160] "respiratory.qqid125062240231choicetextentryvalue181.2"       
[161] "respiratory.qqid125062240231choicetextentryvalue191.2"       
[162] "respiratory.qqid125062240231choicetextentryvalue201.2"       
[163] "respiratory.qqid125062240231choicetextentryvalue211.2"       
[164] "respiratory.qqid125062240231choicetextentryvalue21.3"        
[165] "respiratory.qqid125062240231choicetextentryvalue31.3"        
[166] "respiratory.qqid125062240231choicetextentryvalue41.3"        
[167] "respiratory.qqid125062240231choicetextentryvalue51.3"        
[168] "respiratory.qqid125062240231choicetextentryvalue61.3"        
[169] "respiratory.qqid125062240231choicetextentryvalue71.3"        
[170] "respiratory.qqid125062240231choicetextentryvalue81.3"        
[171] "respiratory.qqid125062240231choicetextentryvalue91.3"        
[172] "respiratory.qqid125062240231choicetextentryvalue101.3"       
[173] "respiratory.qqid125062240231choicetextentryvalue111.3"       
[174] "respiratory.qqid125062240231choicetextentryvalue121.3"       
[175] "respiratory.qqid125062240231choicetextentryvalue131.3"       
[176] "respiratory.qqid125062240231choicetextentryvalue141.3"       
[177] "respiratory.qqid125062240231choicetextentryvalue151.3"       
[178] "respiratory.qqid125062240231choicetextentryvalue161.3"       
[179] "respiratory.qqid125062240231choicetextentryvalue171.3"       
[180] "respiratory.qqid125062240231choicetextentryvalue181.3"       
[181] "respiratory.qqid125062240231choicetextentryvalue191.3"       
[182] "respiratory.qqid125062240231choicetextentryvalue201.3"       
[183] "respiratory.qqid125062240231choicetextentryvalue211.3"       

Select respiratory variables

[1] 173

RAMP respiratory

Select respiratory variables

#Distribution of likert scale COVID-19 symptoms in COPING

Warning: Removed 14248 rows containing non-finite values (stat_count).

Warning: Removed 14242 rows containing non-finite values (stat_count).

Warning: Removed 14250 rows containing non-finite values (stat_count).

#Choosing cut-offs for the likert scale symptoms of “no symptoms”, “mild symptoms”, “moderate symptoms” and “severe symptoms” for the fatigue, persistent cough and skipped meals variables. Coding: 0 = No symptoms 1 = Mild symptoms 2 = Moderate symptoms 3 = Severe symptoms

Results: Persistent cough: “Mild symptoms” as cut off Fatigue: “Severe symptoms” as cut off Skipped meals: “Moderate symptoms” as cut off

[1] 0.3029762
69.70238% 
        1 
[1] 0.08791204
91.2088% 
       3 
[1] 0.192021
80.7979% 
       1 

Creating binary groups for COVID symptoms

Frequencies of binary COVID symptoms

Frequencies  
respiratory.raw.id$respiratory.anosmia_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0    1902     68.69          68.69     10.90          10.90
          1     867     31.31         100.00      4.97          15.87
       <NA>   14678                              84.13         100.00
      Total   17447    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.pcough_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0    1563     48.86          48.86      8.96           8.96
          1    1636     51.14         100.00      9.38          18.34
       <NA>   14248                              81.66         100.00
      Total   17447    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.fatigue_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0    2516     78.50          78.50     14.42          14.42
          1     689     21.50         100.00      3.95          18.37
       <NA>   14242                              81.63         100.00
      Total   17447    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.skipped_meals_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0    1911     59.77          59.77     10.95          10.95
          1    1286     40.23         100.00      7.37          18.32
       <NA>   14250                              81.68         100.00
      Total   17447    100.00         100.00    100.00         100.00

Rename respiratory dataset joined to main dataset

Probable COVID-19 case identification

Algorithm from Menni et al. to identify probable COVID-19 Variables required: - Sex: 0 Female, 1 Male - Other binary variables: 0 No, 1 Yes
- “respiratory.anosmia_binary”: loss of smell or taste
- “respiratory.pcough_binary”: Persistent cough - “respiratory.fatigue_binary”: Severe fatigue - “respiratory.skipped_meals_binary”: Skipped meals

The COVID prediction model has coded the sexes opposite to our data set

Sex is no available in the RAMP dataset, therefore a proxy sex variable is created whereby Gender = Male and Transgender = No. 

Age is not available in RAMP, only categorical age. We will assign each individual the middle value of each age category.

Frequencies  
dat.coping$covid_symptoms  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   11944     85.38     85.38
          1    2045     14.62     14.62
       <NA>       0                0.00
      Total   13989    100.00    100.00
#COVID prediction model
Frequencies  
dat.coping$covid_odds_ratio_50  
Type: Factor  

                        Freq   % Valid   % Total
-------------------- ------- --------- ---------
            No COVID    1437     70.27     10.27
      Probable COVID     608     29.73      4.35
                <NA>   11944               85.38
               Total   13989    100.00    100.00

Probable COVID case including the routing question

Frequencies  
dat.coping$covid_probable_case_incl_screening  
Type: Factor  

                        Freq   % Valid   % Total
-------------------- ------- --------- ---------
            No COVID   12016     95.18     85.90
      Probable COVID     608      4.82      4.35
                <NA>    1365                9.76
               Total   13989    100.00    100.00

Rename NBR Sample ID

Export data